diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-03-13 20:07:21 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-03-13 20:07:21 +0000 |
| commit | 2316172e5f79f129b7f5369b8c99f03e101aa7f9 (patch) | |
| tree | 28cf29cb979565796255a9a29dd429b9dfc2d3bf /src | |
| parent | fcaa42485f4ffaebc1b881934b2407e1c1115955 (diff) | |
Fixed fluid bug that caused styles patch to crash when you delete menu item.
Changed a comment in Fl.cxx
Changed valuators demo to remove code to set value() on some widgets and
put the value into the gui box instead.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 25c012f36..032268a8c 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.1 1999/03/12 19:17:53 carl Exp $" +// "$Id: Fl.cxx,v 1.24.2.2 1999/03/13 20:07:20 bill Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -225,7 +225,7 @@ int Fl::check() { if (numtimeouts) {fl_elapsed(); call_timeouts();} fl_wait(1, 0.0); flush(); - return Fl_X::first ? 1 : 0; // return 0 if no windows + return Fl_X::first != 0; // return true if there is a window } int Fl::ready() { @@ -682,5 +682,5 @@ int fl_old_shortcut(const char* s) { } // -// End of "$Id: Fl.cxx,v 1.24.2.1 1999/03/12 19:17:53 carl Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.2 1999/03/13 20:07:20 bill Exp $". // |
