Merge pull request #545 from vabenil/fix_doc_variable

fix variable name in docs
This commit is contained in:
Rob Loach 2023-08-03 11:46:43 -04:00 committed by GitHub
commit 12d4e2b257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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(...);

View File

@ -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(...);