diff src/xmu.c @ 169:15872534500d r20-3b11

Import from CVS: tag r20-3b11
author cvs
date Mon, 13 Aug 2007 09:46:53 +0200
parents 0132846995bd
children e121b013d1f0
line wrap: on
line diff
--- a/src/xmu.c	Mon Aug 13 09:45:48 2007 +0200
+++ b/src/xmu.c	Mon Aug 13 09:46:53 2007 +0200
@@ -535,11 +535,10 @@
 
 void XmuCopyISOLatin1Lowered(char *dst, char *src)
 {
-    unsigned char *dest, *source;
+    unsigned char *dest   = (unsigned char *) dst;
+    unsigned char *source = (unsigned char *) src;
 
-    for (dest = (unsigned char *)dst, source = (unsigned char *)src;
-         *source;
-         source++, dest++)
+    for ( ; *source; source++, dest++)
     {
         if ((*source >= XK_A) && (*source <= XK_Z))
             *dest = *source + (XK_a - XK_A);