1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Fixed a bug with the new compile time option for window numbers

This commit is contained in:
dan
2001-06-07 23:51:27 +00:00
parent 3b00e8acaa
commit 8a6afcdcf6

View File

@@ -1790,7 +1790,7 @@ wWindowUpdateName(WWindow *wwin, char *newTitle)
title = newTitle;
}
#ifdef NO_WINDOW_ENUMERATOR
#ifndef NO_WINDOW_ENUMERATOR
if (instIndex > 0) {
sprintf(prefix, " [%i]", instIndex);
@@ -1805,8 +1805,12 @@ wWindowUpdateName(WWindow *wwin, char *newTitle)
wKWMSendEventMessage(wwin, WKWMChangedClient);
#endif
}
#ifndef NO_WINDOW_ENUMERATOR
if (instIndex > 0)
wfree(title);
#endif
}