small fix
This commit is contained in:
parent
0c60620410
commit
78d1a22d4e
2
layout.c
2
layout.c
|
@ -122,7 +122,7 @@ loaddwmprops(void) {
|
||||||
for(i = 0; i < ntags && i < sizeof prop - 1 && prop[i] != '\0'; i++)
|
for(i = 0; i < ntags && i < sizeof prop - 1 && prop[i] != '\0'; i++)
|
||||||
seltags[i] = prop[i] == '1';
|
seltags[i] = prop[i] == '1';
|
||||||
if(i < sizeof prop - 1 && prop[i] != '\0') {
|
if(i < sizeof prop - 1 && prop[i] != '\0') {
|
||||||
i = prop[i] - '0';
|
i = prop[i];
|
||||||
if(i < nlayouts)
|
if(i < nlayouts)
|
||||||
ltidx = i;
|
ltidx = i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue