diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-05-07 12:04:33 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-05-07 12:04:33 +1000 |
commit | df843c7fe48f33d25981d03975e670a3e7159031 (patch) | |
tree | 32ad270bf18d5bedadd255a42c0b013332609488 /src/c_fl_button.cpp | |
parent | c2c5985b130e02b970cb6bf88c9a81e6e72c6646 (diff) |
Further code cleanup
Diffstat (limited to 'src/c_fl_button.cpp')
-rw-r--r-- | src/c_fl_button.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c_fl_button.cpp b/src/c_fl_button.cpp index 233e4ab..f031ff9 100644 --- a/src/c_fl_button.cpp +++ b/src/c_fl_button.cpp @@ -58,16 +58,16 @@ void free_fl_button(BUTTON b) { int fl_button_get_state(BUTTON b) { - return reinterpret_cast<My_Button*>(b)->value(); + return reinterpret_cast<Fl_Button*>(b)->value(); } void fl_button_set_state(BUTTON b, int s) { - reinterpret_cast<My_Button*>(b)->value(s); + reinterpret_cast<Fl_Button*>(b)->value(s); } void fl_button_set_only(BUTTON b) { - reinterpret_cast<My_Button*>(b)->setonly(); + reinterpret_cast<Fl_Button*>(b)->setonly(); } |