about summary refs log tree commit diff stats
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
parent0c6062041035105c6266f6bedb286c1990516fa7 (diff)
downloaddwm-78d1a22d4e847d0e596af59d7707da1bbfe9583a.tar.gz
small fix
Diffstat (limited to 'layout.c')
-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;
 		}