mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 06:21:26 +08:00
">" is ">", not "<" (which is "<")... :)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5700 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -21,7 +21,7 @@ that will help you to get the most out of FLTK.</P>
|
||||
int main() {
|
||||
Fl::lock();
|
||||
/* run thread */
|
||||
while (Fl::wait() < 0) {
|
||||
while (Fl::wait() > 0) {
|
||||
if (Fl::thread_message()) {
|
||||
/* process your data */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user