tsmall fix - dwm - [fork] customized build of dwm, the dynamic window manager | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 78d1a22d4e847d0e596af59d7707da1bbfe9583a | |
parent 0c6062041035105c6266f6bedb286c1990516fa7 | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Sun, 19 Aug 2007 10:13:24 +0200 | |
small fix | |
Diffstat: | |
M layout.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/layout.c b/layout.c | |
t@@ -122,7 +122,7 @@ loaddwmprops(void) { | |
for(i = 0; i < ntags && i < sizeof prop - 1 && prop[i] != '\0'… | |
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; | |
} |