r522 - trunk
    DONOTREPLY at icculus.org 
    DONOTREPLY at icculus.org
       
    Thu Feb 28 22:17:34 EST 2008
    
    
  
Author: icculus
Date: 2008-02-28 22:17:34 -0500 (Thu, 28 Feb 2008)
New Revision: 522
Modified:
   trunk/platform_unix.c
Log:
Chop more off LANG string.
Modified: trunk/platform_unix.c
===================================================================
--- trunk/platform_unix.c	2008-02-28 12:03:57 UTC (rev 521)
+++ trunk/platform_unix.c	2008-02-29 03:17:34 UTC (rev 522)
@@ -380,6 +380,9 @@
         ptr = strchr(retval, '.');  // chop off encoding if explicitly listed.
         if (ptr != NULL)
             *ptr = '\0';
+        ptr = strchr(retval, '@');  // chop off extra bits if explicitly listed.
+        if (ptr != NULL)
+            *ptr = '\0';
     } // if
 
     #if PLATFORM_MACOSX
    
    
More information about the mojosetup-commits
mailing list