diff --git a/nuklear.h b/nuklear.h index 89e0eb4..fa833bd 100644 --- a/nuklear.h +++ b/nuklear.h @@ -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(...); diff --git a/src/nuklear.h b/src/nuklear.h index 36539c3..5111d9b 100644 --- a/src/nuklear.h +++ b/src/nuklear.h @@ -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(...);