build fix for gcc

This commit is contained in:
Anthony Pesch 2017-01-01 12:43:36 -08:00
parent e63ae83349
commit baa8ad8482

View File

@ -16058,7 +16058,7 @@ nk_clear(struct nk_context *ctx)
while (iter) {
/* make sure minimized windows do not get removed */
if ((iter->flags & NK_WINDOW_MINIMIZED) &&
!(iter)->flags & NK_WINDOW_CLOSED) {
!(iter->flags & NK_WINDOW_CLOSED)) {
iter = iter->next;
continue;
}