projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca50121
)
Use C rather than POSIX for a simple known i18n for the LocaleGuard. This seems...
author
Carl Hetherington
<cth@carlh.net>
Sat, 18 May 2013 23:00:45 +0000
(
00:00
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 18 May 2013 23:00:45 +0000
(
00:00
+0100)
src/lib/util.cc
patch
|
blob
|
history
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index f5bcdf12cb3129733ab673e6c5ef5e035109bc98..2f8be6edde675dc37de0c1336b7d3a406bcf61fe 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-1076,8
+1076,8
@@
LocaleGuard::LocaleGuard ()
if (old) {
_old = strdup (old);
- if (strcmp (_old, "
POSIX
")) {
- setlocale (LC_NUMERIC, "
POSIX
");
+ if (strcmp (_old, "
C
")) {
+ setlocale (LC_NUMERIC, "
C
");
}
}
}