From 75a8e0e68e4980647a6d588a15bb300d132b6650 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 12 Jan 2025 18:49:32 +1300 Subject: Fixed several preprocessor ABI version issues --- src/c_fl_help_view.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/c_fl_help_view.cpp') diff --git a/src/c_fl_help_view.cpp b/src/c_fl_help_view.cpp index 50d5d58..6275052 100644 --- a/src/c_fl_help_view.cpp +++ b/src/c_fl_help_view.cpp @@ -175,19 +175,19 @@ void fl_help_view_set_textsize(HELPVIEW v, int s) { void fl_help_view_draw(HELPVIEW v) { - #if FL_ABI_VERSION >= 10303 +#if FL_ABI_VERSION >= 10303 reinterpret_cast(v)->Fl_Help_View::draw(); - #else +#else reinterpret_cast(v)->Fl_Group::draw(); - #endif +#endif } int fl_help_view_handle(HELPVIEW v, int e) { - #if FL_ABI_VERSION >= 10303 +#if FL_ABI_VERSION >= 10303 return reinterpret_cast(v)->Fl_Help_View::handle(e); - #else +#else return reinterpret_cast(v)->Fl_Group::handle(e); - #endif +#endif } -- cgit