1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-10 07:44:14 +01:00

fixed crash in workspace panel

This commit is contained in:
kojima
1999-11-01 15:45:07 +00:00
parent 8c09918339
commit a5203640f6

View File

@@ -136,8 +136,8 @@ showData(_Panel *panel)
str = "center"; str = "center";
idx = 1; /* center */ idx = 1; /* center */
for (i = 0; i < sizeof(WSNamePositions); i++) { for (i = 0; i < sizeof(WSNamePositions)/sizeof(char*); i++) {
if (strcmp(WSNamePositions[i], str) == 0) { if (strcasecmp(WSNamePositions[i], str) == 0) {
idx = i; idx = i;
break; break;
} }