Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 16715 → Rev 16716

/trunk/Scribus/scribus/scclocale.cpp
99,7 → 99,7
// a sade workaround
double result(0.0);
setlocale(LC_NUMERIC, "C");
result = strtod(str, endptr);
result = std::strtod(str, endptr);
setlocale(LC_NUMERIC, "");
return result;
}
112,7 → 112,7
char *oldlocale=setlocale(LC_NUMERIC, NULL);
double result(0.0);
setlocale(LC_NUMERIC, "C");
result = strtod(str, endptr);
result = std::strtod(str, endptr);
setlocale(LC_NUMERIC, oldlocale);
return result;
#else