dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 78d1a22d4e847d0e596af59d7707da1bbfe9583a
parent 0c6062041035105c6266f6bedb286c1990516fa7
Author: Anselm R. Garbe <garbeam@gmail.com>
Date:   Sun, 19 Aug 2007 10:13:24 +0200

small fix
Diffstat:
Mlayout.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layout.c b/layout.c
@@ -122,7 +122,7 @@ loaddwmprops(void) {
         for(i = 0; i < ntags && i < sizeof prop - 1 && prop[i] != '\0'; i++)
             seltags[i] = prop[i] == '1';
         if(i < sizeof prop - 1 && prop[i] != '\0') {
-            i = prop[i] - '0';
+            i = prop[i];
             if(i < nlayouts)
                 ltidx = i;
         }