small fix

This commit is contained in:
Anselm R. Garbe 2007-08-19 10:13:24 +02:00
parent 0c60620410
commit 78d1a22d4e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}