Skip to content

Commit

Permalink
Fix documentation example of the FL_FUNCTION_CALLBACK_#() macro
Browse files Browse the repository at this point in the history
  • Loading branch information
ManoloFLTK committed Apr 5, 2024
1 parent 9d9646f commit fe6ab4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FL/fl_callback_macros.H
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
Fl_Button *btn2 = new Fl_Button(10, 40, 100, 20, "Hello");
FL_FUNCTION_CALLBACK_5(btn2,
fl_message,
const char *, text, "Hello\n%d %d %d %d",
int, a, 1, int, b, 2, int, c, 3, int, d, 4
const char *, "Hello\n%d %d %d %d",
int, 1, int, 2, int, 3, int, 4
);
\endcode
Expand Down

0 comments on commit fe6ab4e

Please sign in to comment.