Skip to content

Commit

Permalink
Merge pull request #665 from PROP65/assert_delete
Browse files Browse the repository at this point in the history
Remove unnecessary assert
  • Loading branch information
RobLoach authored Aug 26, 2024
2 parents eab9f22 + 6556884 commit c3282bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion nuklear.h
Original file line number Diff line number Diff line change
Expand Up @@ -20789,7 +20789,6 @@ nk_window_set_bounds(struct nk_context *ctx,
if (!ctx) return;
win = nk_window_find(ctx, name);
if (!win) return;
NK_ASSERT(ctx->current != win && "You cannot update a currently in procecss window");
win->bounds = bounds;
}
NK_API void
Expand Down
1 change: 0 additions & 1 deletion src/nuklear_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ nk_window_set_bounds(struct nk_context *ctx,
if (!ctx) return;
win = nk_window_find(ctx, name);
if (!win) return;
NK_ASSERT(ctx->current != win && "You cannot update a currently in procecss window");
win->bounds = bounds;
}
NK_API void
Expand Down

0 comments on commit c3282bf

Please sign in to comment.