diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-19 10:13:24 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-19 10:13:24 +0200 |
commit | 78d1a22d4e847d0e596af59d7707da1bbfe9583a (patch) | |
tree | a7139ea64edca7eef9547b1c98b72f5988f66806 /layout.c | |
parent | 0c6062041035105c6266f6bedb286c1990516fa7 (diff) | |
download | dwm-78d1a22d4e847d0e596af59d7707da1bbfe9583a.tar.gz |
small fix
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layout.c b/layout.c index aa3bff5..96e125a 100644 --- 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; } |