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(-) 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; } -- cgit v1.2.3-70-g09d2