Browse Source

Forgot the semicolon in nuklear.h

Wladislav ヴラド Artsimovich 3 years ago
parent
commit
cb0e05beea
3 changed files with 4 additions and 6 deletions
  1. 2 3
      nuklear.h
  2. 1 1
      src/nuklear.h
  3. 1 2
      src/nuklear_window.c

+ 2 - 3
nuklear.h

@@ -2015,7 +2015,7 @@ NK_API void nk_window_show_if(struct nk_context*, const char *name, enum nk_show
 /// __color__       | Color of the horizontal line
 /// __rounding__    | Whether or not to make the line round
 */
-NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, NK_BOOL rounding)
+NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk_bool rounding);
 /* =============================================================================
  *
  *                                  LAYOUT
@@ -20700,9 +20700,8 @@ nk_window_set_focus(struct nk_context *ctx, const char *name)
     }
     ctx->active = win;
 }
-
 NK_API void
-nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, NK_BOOL rounding)
+nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk_bool rounding)
 {
     struct nk_rect space;
     enum nk_widget_layout_states state = nk_widget(&space, ctx);

+ 1 - 1
src/nuklear.h

@@ -1794,7 +1794,7 @@ NK_API void nk_window_show_if(struct nk_context*, const char *name, enum nk_show
 /// __color__       | Color of the horizontal line
 /// __rounding__    | Whether or not to make the line round
 */
-NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, NK_BOOL rounding)
+NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk_bool rounding);
 /* =============================================================================
  *
  *                                  LAYOUT

+ 1 - 2
src/nuklear_window.c

@@ -669,9 +669,8 @@ nk_window_set_focus(struct nk_context *ctx, const char *name)
     }
     ctx->active = win;
 }
-
 NK_API void
-nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, NK_BOOL rounding)
+nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk_bool rounding)
 {
     struct nk_rect space;
     enum nk_widget_layout_states state = nk_widget(&space, ctx);