Merge pull request #393 from nsawa/fix_gcc_warning_in_nk_end
Fix gcc warning in nk_end().
This commit is contained in:
commit
0d010a39a4
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user