about summary refs log tree commit diff stats
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
parent0c6062041035105c6266f6bedb286c1990516fa7 (diff)
downloaddwm-78d1a22d4e847d0e596af59d7707da1bbfe9583a.tar.gz
small fix
-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;
 		}
a id='n109' href='#n109'>109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165