From b3963bf731d02ee7ae35123fb0427ae63f0e273d Mon Sep 17 00:00:00 2001 From: Naoyuki Sawa Date: Wed, 5 Apr 2017 10:30:07 +0900 Subject: [PATCH] Fix gcc warning in nk_end(). --- nuklear.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuklear.h b/nuklear.h index 2537cb6..c4e5daf 100644 --- a/nuklear.h +++ b/nuklear.h @@ -17427,7 +17427,7 @@ nk_end(struct nk_context *ctx) return; layout = ctx->current->layout; - if (!layout || layout->type == NK_PANEL_WINDOW && (ctx->current->flags & NK_WINDOW_HIDDEN)) { + if (!layout || (layout->type == NK_PANEL_WINDOW && (ctx->current->flags & NK_WINDOW_HIDDEN))) { ctx->current = 0; return; }