diff options
Diffstat (limited to 'documentation/advanced.html')
| -rw-r--r-- | documentation/advanced.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/advanced.html b/documentation/advanced.html index dea29c41d..51a7482fe 100644 --- a/documentation/advanced.html +++ b/documentation/advanced.html @@ -21,10 +21,10 @@ that will help you to get the most out of FLTK.</P> int main() { Fl::lock(); /* run thread */ - while (Fl::wait() > 0) { - if (Fl::thread_message()) { + while (Fl::wait() < 0) { + if (Fl::thread_message()) { /* process your data */ - } + } } } </pre> |
