r14673 by cbradney - Its late, fix another typo
scribus-commit
scribus-commit at lists.scribus.net
Wed Feb 10 00:40:17 CET 2010
Revision: 14673
Author: cbradney
Date: 2010-02-09T23:34:22.418368Z
Commit message: Its late, fix another typo
Changeset:
M /trunk/Scribus/scribus/scclocale.cpp
Diffs:
Index: scribus/scclocale.cpp
===================================================================
--- scribus/scclocale.cpp (revision 14672)
+++ scribus/scclocale.cpp (revision 14673)
@@ -109,14 +109,14 @@
return _strtod_l(str, endptr, that()->cLocale);
#else
#if defined(Q_OS_SOLARIS)
- return strtod_l(str, endptr, that()->cLocale);
- #else
char *oldlocale=setlocale(LC_NUMERIC, NULL);
double result(0.0);
setlocale(LC_NUMERIC, "C");
result = strtod(str, endptr);
setlocale(LC_NUMERIC, oldlocale);
return result;
+ #else
+ return strtod_l(str, endptr, that()->cLocale);
#endif
#endif
}
More information about the scribus-commit
mailing list