From: <tm...@us...> - 2009-07-31 05:27:19
|
Revision: 4132 http://hugin.svn.sourceforge.net/hugin/?rev=4132&view=rev Author: tmodes Date: 2009-07-31 05:27:05 +0000 (Fri, 31 Jul 2009) Log Message: ----------- More fixes for changed numeric locale [2826516] Modified Paths: -------------- hugin/trunk/src/hugin_base/panodata/Panorama.cpp Modified: hugin/trunk/src/hugin_base/panodata/Panorama.cpp =================================================================== --- hugin/trunk/src/hugin_base/panodata/Panorama.cpp 2009-07-31 05:25:37 UTC (rev 4131) +++ hugin/trunk/src/hugin_base/panodata/Panorama.cpp 2009-07-31 05:27:05 UTC (rev 4132) @@ -2400,6 +2400,11 @@ if (optvec.size() != images.size()) { optvec = OptimizeVector(images.size()); } +#ifdef __unix__ + // reset locale + setlocale(LC_NUMERIC,old_locale); + free(old_locale); +#endif return true; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |