Enlightenment CVS committal

Author  : shorne
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_intl.c 


Log Message:
Very bad, localization seems to have been broken for months. 


===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_intl.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -3 -r1.94 -r1.95
--- e_intl.c    28 Sep 2007 16:36:13 -0000      1.94
+++ e_intl.c    7 Oct 2007 13:01:50 -0000       1.95
@@ -172,8 +172,8 @@
    else
      _e_intl_language = NULL;
 
-   if ((!_e_intl_locale_validate(_e_intl_language_alias)) || 
-       (strcmp(_e_intl_language_alias, "C")))
+   if ((!_e_intl_locale_validate(_e_intl_language_alias)) &&
+        (strcmp(_e_intl_language_alias, "C")))
      {
        fprintf(stderr, "The locale '%s' cannot be found on your "
               "system. Please install this locale or try "
@@ -727,23 +727,20 @@
      }
 
    /* set end-of-string \0 */
+   /* There are no breaks here on purpose */
    switch (state)
      {
       case 0:
        language[tmp_idx] = 0;
        tmp_idx = 0;
-       break;
       case 1:
        territory[tmp_idx] = 0;
        tmp_idx = 0;
-       break;
       case 2:
        codeset[tmp_idx] = 0;
        tmp_idx = 0;
-       break;
       case 3:
        modifier[tmp_idx] = 0;
-       break;
       default:
        break;
      }



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to