summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-17 01:10:23 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-17 01:10:23 +0100
commit3e56e4126ec8199f15e03c213b37f39d72c27cc3 (patch)
tree02f6ed13350a990b05ee7fd026d9dd208320e178 /src/lib/util.cc
parent8cf1e8377506936224e8b26121680563d47682fe (diff)
tabs -> spaces.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index ec99b2f89..7e7e579a4 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -724,12 +724,12 @@ LocaleGuard::LocaleGuard ()
{
char const * old = setlocale (LC_NUMERIC, 0);
- if (old) {
- _old = strdup (old);
- if (strcmp (_old, "C")) {
- setlocale (LC_NUMERIC, "C");
- }
- }
+ if (old) {
+ _old = strdup (old);
+ if (strcmp (_old, "C")) {
+ setlocale (LC_NUMERIC, "C");
+ }
+ }
}
LocaleGuard::~LocaleGuard ()