pull/1/head
Anselm R. Garbe 18 years ago
parent 0c60620410
commit 78d1a22d4e
  1. 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…
Cancel
Save