changeset 36986:575e1612c53a

Simplify the expression.
author ib
date Thu, 27 Mar 2014 02:15:29 +0000
parents 20710ce09985
children b33ff300128e
files gui/util/string.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/util/string.c	Thu Mar 27 01:51:22 2014 +0000
+++ b/gui/util/string.c	Thu Mar 27 02:15:29 2014 +0000
@@ -42,7 +42,7 @@
 
     while (*p) {
         if (*p >= 'A' && *p <= 'Z')
-            *p += 'a' - 'A';
+            *p += 0x20;
 
         p++;
     }