mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
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:
+3
-3
@@ -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).
|
// 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) {
|
if (first_timeout) {
|
||||||
elapse_timeouts();
|
elapse_timeouts();
|
||||||
Timeout *t;
|
Timeout *t;
|
||||||
while (t = first_timeout) {
|
while ((t = first_timeout)) {
|
||||||
if (t->time > 0) break;
|
if (t->time > 0) break;
|
||||||
// The first timeout in the array has expired.
|
// The first timeout in the array has expired.
|
||||||
// We must remove timeout from array before doing the callback:
|
// 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 $".
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user