summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-04-05 10:57:46 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-04-05 10:57:46 +0200
commitfe6ab4ebc2c106fb135b26c1d7234b1591c383a5 (patch)
tree607aed828ffd47c3984852c3f1692d1f0cd15f4b
parent9d9646fb124aee9255a6bc11a7af65bc54e94fb6 (diff)
Fix documentation example of the FL_FUNCTION_CALLBACK_#() macro
-rw-r--r--FL/fl_callback_macros.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/fl_callback_macros.H b/FL/fl_callback_macros.H
index b1c2a349d..398d848b9 100644
--- a/FL/fl_callback_macros.H
+++ b/FL/fl_callback_macros.H
@@ -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