Update of /cvsroot/ufraw/ufraw In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27280
Modified Files: ufraw_conf.c Log Message: Make sure grayscaleMixer values are scanned in C locale. Index: ufraw_conf.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_conf.c,v retrieving revision 1.192 retrieving revision 1.193 diff -u -d -r1.192 -r1.193 --- ufraw_conf.c 6 Oct 2013 05:00:15 -0000 1.192 +++ ufraw_conf.c 16 Oct 2013 03:00:12 -0000 1.193 @@ -2170,6 +2170,7 @@ if (cmd->grayscaleMode == grayscale_mixer) { if (grayscaleMixer != NULL) { double red, green, blue; + char *locale = uf_set_locale_C(); if (sscanf(grayscaleMixer, "%lf,%lf,%lf", &red, &green, &blue) != 3) { ufraw_message(UFRAW_ERROR, _("'%s' is not a valid grayscale-mixer option."), @@ -2180,6 +2181,7 @@ cmd->grayscaleMixer[0] = red; cmd->grayscaleMixer[1] = green; cmd->grayscaleMixer[2] = blue; + uf_reset_locale(locale); } } } ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ ufraw-cvs mailing list ufraw-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ufraw-cvs