aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {
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;
}