diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-20 08:09:34 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-20 08:09:34 +0100 |
| commit | f5628aa66de0173f4fc145586a8c83e66e32f160 (patch) | |
| tree | 9378c61789b0ac3f85cd9ff5854540b02321ebce /src/drivers | |
| parent | 733ffed6308a63c5f7975bf2e5807b29faf2c77a (diff) | |
Fix issue #413: Commit 29d9e31 creates memory handling problem under macOS.
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Unix/Fl_Unix_System_Driver.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Unix/Fl_Unix_System_Driver.cxx b/src/drivers/Unix/Fl_Unix_System_Driver.cxx index b564df5a5..3951e3eda 100644 --- a/src/drivers/Unix/Fl_Unix_System_Driver.cxx +++ b/src/drivers/Unix/Fl_Unix_System_Driver.cxx @@ -837,6 +837,7 @@ int Fl_Unix_System_Driver::poll_or_select() { double Fl_Unix_System_Driver::wait(double time_to_wait) { + time_to_wait = Fl_System_Driver::wait(time_to_wait); if (time_to_wait <= 0.0) { // do flush second so that the results of events are visible: int ret = this->poll_or_select_with_delay(0.0); |
