summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/advanced.html6
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() &lt; 0) {
+ if (Fl::thread_message()) {
/* process your data */
- }
+ }
}
}
</pre>