[XForms] dot vs. comma (0.88 vs. 1.0.x)
Bernd Hahnebach
newsletter at hahnebach.com
Fri May 28 15:06:11 EDT 2004
added to main.c:
#include <locale.h>
and directly under: fl_initialize(&argc,argv,version,0,0);
setlocale( LC_NUMERIC, "C" );
XStab compiles but it still does commas instead of dots.
I did the other way around just to have success. Using
LANG=en_US before starting XStab works. Only dots dots dots :-)
I don't want to bother you, but I still would like to find a solution.
Bernd
jason cipriani schrieb:
>>Thanks. I copied the line. I got the next problem.
>> ...
>>main.c:48: warning: implicit declaration of function `setlocale'
>>main.c:48: error: `LC_NUMERIC' undeclared (first use in this function)
>> ...
>>Bernd
>>
>>
>
>I believe you also need to #include <locale.h> to use setlocale().
>
>Jason
>
>
More information about the Xforms
mailing list