Re: code work wrong when i put it in gtk+ application
- From: Tor Lillqvist <tml iki fi>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: code work wrong when i put it in gtk+ application
- Date: Thu, 12 Nov 2009 04:00:55 +0200
The radix is locale dependent. ÂYou will need to set a C locale.
To be more specific, call setlocale(LC_NUMERIC, "C")
GTK+ calls setlocale(LC_ALL, "") for you automatically in gtk_init()
unless you call gtk_disable_setlocale() first.
Read your C library's documentation to learn about setlocale().
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]