blob: 86567b1e73ae9f8585be1b9226eb9997a2f62ffe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- misc/build/libwpg-0.2.0/src/lib/WPGSVGGenerator.cpp
+++ misc/build/libwpg-0.2.0/src/lib/WPGSVGGenerator.cpp
@@ -30,7 +30,11 @@
{
std::ostringstream tempStream;
tempStream << value;
+#ifndef __ANDROID__
std::string decimalPoint(localeconv()->decimal_point);
+#else
+ std::string decimalPoint(".");
+#endif
if ((decimalPoint.size() == 0) || (decimalPoint == "."))
return tempStream.str();
std::string stringValue(tempStream.str());
|