From 2aac034b614d6de39f4aee9f41dba8f2bcc63d8d Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 26 May 2016 04:35:58 +1000 Subject: In the interests of readability and consistent style... --- c_fl_radio_round_button.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'c_fl_radio_round_button.cpp') diff --git a/c_fl_radio_round_button.cpp b/c_fl_radio_round_button.cpp index 9e7943c..9e94244 100644 --- a/c_fl_radio_round_button.cpp +++ b/c_fl_radio_round_button.cpp @@ -4,13 +4,13 @@ #include "c_fl_radio_round_button.h" -my_fl_radio_round_button new_fl_radio_round_button(int x, int y, int w, int h, char * label) { - Fl_Radio_Round_Button *button = new Fl_Radio_Round_Button(x, y, w, h, label); - return button; +RADIOROUNDBUTTON new_fl_radio_round_button(int x, int y, int w, int h, char* label) { + Fl_Radio_Round_Button *b = new Fl_Radio_Round_Button(x, y, w, h, label); + return b; } -void free_fl_radio_round_button(my_fl_radio_round_button b) { +void free_fl_radio_round_button(RADIOROUNDBUTTON b) { delete reinterpret_cast(b); } -- cgit