summaryrefslogtreecommitdiff
path: root/documentation/advanced.html
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2007-02-20 17:02:41 +0000
committerMatthias Melcher <fltk@matthiasm.com>2007-02-20 17:02:41 +0000
commit8ea59b412e4af50813545a836ed1c11ac00f541c (patch)
tree0b54d44d750819b99dde5d7d167d1e6158a5a856 /documentation/advanced.html
parent658162c5096dfbe75962a3e8d37d8899a914809a (diff)
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
Diffstat (limited to 'documentation/advanced.html')
-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>