From 78d1a22d4e847d0e596af59d7707da1bbfe9583a Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sun, 19 Aug 2007 10:13:24 +0200 Subject: small fix --- layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layout.c') diff --git a/layout.c b/layout.c index aa3bff5d..96e125ad 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; } -- cgit v1.2.3