summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-04-01 14:45:47 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-04-01 14:45:47 +0000
commit4cb0fad70f992ccf565dd1df6742e0d20f541809 (patch)
treece6753ff429e846b67dcd58d40cdf50661ab7b5d
parentcd6f7adfe084631fca7ceb6111d066c0d65c989a (diff)
Applied Gustavo's WIN32 timer patch to the 1.0.x branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@495 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_win32.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 81d57c0ba..36c0e24de 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_win32.cxx,v 1.33.2.3 1999/03/29 17:39:28 carl Exp $"
+// "$Id: Fl_win32.cxx,v 1.33.2.4 1999/04/01 14:45:47 mike Exp $"
//
// WIN32-specific code for the Fast Light Tool Kit (FLTK).
//
@@ -143,7 +143,7 @@ double fl_wait(int timeout_flag, double time) {
GetMessage(&fl_msg, NULL, 0, 0);
have_message = 1;
} else {
- if (time >= 0.0) {
+ if (time > 0.0) {
int t = (int)(time * 1000.0);
if (t <= 0) t = 1;
int timerid = SetTimer(NULL, 0, t, NULL);
@@ -905,5 +905,5 @@ void Fl_Window::make_current() {
}
//
-// End of "$Id: Fl_win32.cxx,v 1.33.2.3 1999/03/29 17:39:28 carl Exp $".
+// End of "$Id: Fl_win32.cxx,v 1.33.2.4 1999/04/01 14:45:47 mike Exp $".
//