Author: manolo
Date: 2011-05-23 12:40:23 -0700 (Mon, 23 May 2011)
New Revision: 8730
Log:
Removes a compilation warning because of use of X->xid = NULL
Modified:
branches/branch-1.3/src/Fl_x.cxx
Modified: branches/branch-1.3/src/Fl_x.cxx
===================================================================
--- branches/branch-1.3/src/Fl_x.cxx 2011-05-23 19:30:32 UTC (rev 8729)
+++ branches/branch-1.3/src/Fl_x.cxx 2011-05-23 19:40:23 UTC (rev 8730)
@@ -1074,7 +1074,7 @@
Fl::handle(FL_CLOSE, window);
Fl_X* X = Fl_X::i(window);
if (X) { // indicates the FLTK window was not closed
- X->xid = NULL; // indicates the X11 window was already destroyed
+ X->xid = (Window)0; // indicates the X11 window was already destroyed
window->hide();
int oldx = window->x(), oldy = window->y();
window->position(0, 0);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit