[MPlayer-cvslog] r37082 - trunk/gui/util/string.c

ib subversion at mplayerhq.hu
Thu Mar 27 03:15:29 CET 2014


Author: ib
Date: Thu Mar 27 03:15:29 2014
New Revision: 37082

Log:
Simplify the expression.

Modified:
   trunk/gui/util/string.c

Modified: trunk/gui/util/string.c
==============================================================================
--- trunk/gui/util/string.c	Thu Mar 27 02:51:22 2014	(r37081)
+++ trunk/gui/util/string.c	Thu Mar 27 03:15:29 2014	(r37082)
@@ -42,7 +42,7 @@ char *strlower(char *in)
 
     while (*p) {
         if (*p >= 'A' && *p <= 'Z')
-            *p += 'a' - 'A';
+            *p += 0x20;
 
         p++;
     }


More information about the MPlayer-cvslog mailing list