Skip to content

Commit

Permalink
Merge pull request #545 from vabenil/fix_doc_variable
Browse files Browse the repository at this point in the history
fix variable name in docs
  • Loading branch information
RobLoach committed Aug 3, 2023
2 parents e3c5384 + f0e7760 commit 12d4e2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nuklear.h
Original file line number Diff line number Diff line change
Expand Up @@ -2154,7 +2154,7 @@ NK_API void nk_window_show_if(struct nk_context*, const char *name, enum nk_show
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c
/// if (nk_begin_xxx(...) {
/// // two rows with height: 30 composed of two widgets with width 60 and 40
/// const float size[] = {60,40};
/// const float ratio[] = {60,40};
/// nk_layout_row(ctx, NK_STATIC, 30, 2, ratio);
/// nk_widget(...);
/// nk_widget(...);
Expand Down
2 changes: 1 addition & 1 deletion src/nuklear.h
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ NK_API void nk_window_show_if(struct nk_context*, const char *name, enum nk_show
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c
/// if (nk_begin_xxx(...) {
/// // two rows with height: 30 composed of two widgets with width 60 and 40
/// const float size[] = {60,40};
/// const float ratio[] = {60,40};
/// nk_layout_row(ctx, NK_STATIC, 30, 2, ratio);
/// nk_widget(...);
/// nk_widget(...);
Expand Down

0 comments on commit 12d4e2b

Please sign in to comment.