Browse Source

small fix

master
Anselm R. Garbe 18 years ago
parent
commit
78d1a22d4e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      layout.c

+ 1
- 1
layout.c View File

@ -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…
Cancel
Save