From 8ea59b412e4af50813545a836ed1c11ac00f541c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 20 Feb 2007 17:02:41 +0000 Subject: Fixed Watcom compiler setup without verification using a patch by mnieuw git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/advanced.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'documentation') 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.

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 */ - } + } } } -- cgit v1.2.3