[hackers] [dwm] small fix

From: Anselm R. Garbe <garbeam_AT_gmail.com>
Date: Sun Aug 19 10:14:13 2007

changeset: 965:b3f4b0b3a5d7
tag: tip
user: Anselm R. Garbe <garbeam_AT_gmail.com>
date: Sun Aug 19 10:13:24 2007 +0200
summary: small fix

diff -r 777a9d9ce70b -r b3f4b0b3a5d7 layout.c
--- a/layout.c Sat Aug 18 14:20:56 2007 +0200
+++ b/layout.c Sun Aug 19 10:13:24 2007 +0200
@@ -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;
                 }
Received on Sun Aug 19 2007 - 10:14:13 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:57 UTC