applied gimp-ovchinnikov-970312-0.patch which initializes locale

--Sven
This commit is contained in:
Sven Neumann 1998-03-14 17:54:08 +00:00
parent b3d28f6fdb
commit c934cc8cce
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Sat Mar 14 18:50:29 MET 1998 Sven Neumann <sven@gimp.org>
* app/main.c: applied gimp-ovchinnikov-970312-0.patch which
initializes locale.
Sat Mar 14 17:17:31 MET 1998 Sven Neumann <sven@gimp.org>
* app/internal_procs.c

View File

@ -16,6 +16,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "config.h"
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
@ -84,6 +85,8 @@ main (int argc, char **argv)
prog_name = argv[0];
/* Initialize Gtk toolkit */
gtk_set_locale ();
setlocale(LC_NUMERIC, "C"); /* must use dot, not comma, as decimal separator */
gtk_init (&argc, &argv);
gtk_accelerator_table_set_mod_mask (NULL, GDK_SHIFT_MASK |
GDK_CONTROL_MASK |