Skip to content
Snippets Groups Projects
Commit 3a0c70d8 authored by Bill Spitzak's avatar Bill Spitzak
Browse files

Added parenthesis to turn off gcc warning

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
parent 421fd398
No related branches found
No related tags found
No related merge requests found
//
// "$Id: Fl.cxx,v 1.24.2.36 2000/12/21 18:15:14 easysw Exp $"
// "$Id: Fl.cxx,v 1.24.2.37 2001/01/15 23:51:37 spitzak Exp $"
//
// Main event handling code for the Fast Light Tool Kit (FLTK).
//
......@@ -204,7 +204,7 @@ double Fl::wait(double time_to_wait) {
if (first_timeout) {
elapse_timeouts();
Timeout *t;
while (t = first_timeout) {
while ((t = first_timeout)) {
if (t->time > 0) break;
// The first timeout in the array has expired.
// We must remove timeout from array before doing the callback:
......@@ -772,5 +772,5 @@ void Fl_Window::flush() {
}
//
// End of "$Id: Fl.cxx,v 1.24.2.36 2000/12/21 18:15:14 easysw Exp $".
// End of "$Id: Fl.cxx,v 1.24.2.37 2001/01/15 23:51:37 spitzak Exp $".
//
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment