summaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-19 10:13:24 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-19 10:13:24 +0200
commit78d1a22d4e847d0e596af59d7707da1bbfe9583a (patch)
treea7139ea64edca7eef9547b1c98b72f5988f66806 /layout.c
parenthmm I doubt the usefulness of storing this information... (diff)
downloaddwm-78d1a22d4e847d0e596af59d7707da1bbfe9583a.tar.gz
dwm-78d1a22d4e847d0e596af59d7707da1bbfe9583a.zip
small fix
Diffstat (limited to '')
-rw-r--r--layout.c2
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) {
122 for(i = 0; i < ntags && i < sizeof prop - 1 && prop[i] != '\0'; i++) 122 for(i = 0; i < ntags && i < sizeof prop - 1 && prop[i] != '\0'; i++)
123 seltags[i] = prop[i] == '1'; 123 seltags[i] = prop[i] == '1';
124 if(i < sizeof prop - 1 && prop[i] != '\0') { 124 if(i < sizeof prop - 1 && prop[i] != '\0') {
125 i = prop[i] - '0'; 125 i = prop[i];
126 if(i < nlayouts) 126 if(i < nlayouts)
127 ltidx = i; 127 ltidx = i;
128 } 128 }