summaryrefslogtreecommitdiff
path: root/fluid/widgets/Bin_Button.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/widgets/Bin_Button.cxx')
-rw-r--r--fluid/widgets/Bin_Button.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/widgets/Bin_Button.cxx b/fluid/widgets/Bin_Button.cxx
index 29afddb9c..728bcc8ed 100644
--- a/fluid/widgets/Bin_Button.cxx
+++ b/fluid/widgets/Bin_Button.cxx
@@ -81,7 +81,7 @@ int fld::widget::Bin_Button::handle(int inEvent)
*/
int fld::widget::Bin_Window_Button::handle(int inEvent)
{
- static Fl_Window *drag_win = nullptr;
+ static Fl_Window *drag_win = 0;
int ret = 0;
switch (inEvent) {
case FL_PUSH:
@@ -107,7 +107,7 @@ int fld::widget::Bin_Window_Button::handle(int inEvent)
case FL_RELEASE:
if (drag_win) {
Fl::delete_widget(drag_win);
- drag_win = nullptr;
+ drag_win = 0;
// create a new window here
Node *prototype = typename_to_prototype((char*)user_data());
if (prototype) {