Added parenthesis to turn off gcc warning
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
421fd3985f
commit
3a0c70d82e
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$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 $".
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user