summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-02-19 20:21:10 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-02-19 20:21:10 +0000
commitbe3181a39a1ba2030be9df0ece67cdadda0b435f (patch)
treee67fa2b8079c3dedb70568151ba52d3bd924699d
parent5ccf911a01f2cce7672e96f3bee602cfa34484c3 (diff)
Use "1" instead of "true" for return value (true not available on all
C++ compilers...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_x.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index faa6a90c1..cea27be15 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_x.cxx,v 1.24.2.24.2.11 2002/01/09 21:50:02 easysw Exp $"
+// "$Id: Fl_x.cxx,v 1.24.2.24.2.12 2002/02/19 20:21:10 easysw Exp $"
//
// X specific code for the Fast Light Tool Kit (FLTK).
//
@@ -536,7 +536,7 @@ int fl_handle(const XEvent& xevent)
0, // used for xy rectangle to not send position inside
0, // used for width+height of rectangle
accept ? fl_dnd_action : None);
- return true;
+ return 1;
} else if (message == fl_XdndLeave) {
fl_dnd_source_window = 0; // don't send a finished message to it
@@ -560,7 +560,7 @@ int fl_handle(const XEvent& xevent)
fl_sendClientMessage(fl_dnd_source_window, fl_XdndFinished, to_window);
fl_dnd_source_window = 0;
}
- return true;
+ return 1;
}
break;}
@@ -1084,5 +1084,5 @@ void Fl_Window::make_current() {
#endif
//
-// End of "$Id: Fl_x.cxx,v 1.24.2.24.2.11 2002/01/09 21:50:02 easysw Exp $".
+// End of "$Id: Fl_x.cxx,v 1.24.2.24.2.12 2002/02/19 20:21:10 easysw Exp $".
//