Skip to content

Commit ad8c1ca

Browse files
authored
Merge pull request #149 from wyattscarpenter/patch-1
use integer for integer bound
2 parents 1ea4c02 + 9812c13 commit ad8c1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/overview.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ overview(struct nk_context *ctx)
233233
nk_label(ctx, "Property float:", NK_TEXT_LEFT);
234234
nk_property_float(ctx, "Float:", 0, &property_float, 64.0f, 0.1f, 0.2f);
235235
nk_label(ctx, "Property int:", NK_TEXT_LEFT);
236-
nk_property_int(ctx, "Int:", 0, &property_int, 100.0f, 1, 1);
236+
nk_property_int(ctx, "Int:", 0, &property_int, 100, 1, 1);
237237
nk_label(ctx, "Property neg:", NK_TEXT_LEFT);
238238
nk_property_int(ctx, "Neg:", -10, &property_neg, 10, 1, 1);
239239

0 commit comments

Comments
 (0)