Enlightenment CVS committal
Author : andreas99
Project : e16
Module : tools
Dir : e16/tools/e16menuedit2/src
Modified Files:
file.c
Log Message:
get locale for help from LANG instead of LC_ALL
===================================================================
RCS file: /cvsroot/enlightenment/e16/tools/e16menuedit2/src/file.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- file.c 5 Dec 2004 13:19:48 -0000 1.11
+++ file.c 11 Dec 2004 09:04:17 -0000 1.12
@@ -378,10 +378,8 @@
gboolean help_missing = TRUE;
struct stat buf;
- locale = setlocale (LC_MESSAGES, NULL);
+ locale = getenv ("LANG");
- printf ("locale: %s\n", locale);
-
params = g_strdup_printf ("%s/%s/%s", help_dir,
locale, help_file);
#ifdef DEBUG
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs