summaryrefslogtreecommitdiff
path: root/src/Fl_win32.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-12-10 10:19:54 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-12-10 10:19:54 +0100
commitdf059de37e776874cf1fbe303141764f1c8fc34e (patch)
treee54559716865161449627732a9ca5dff43f6b36d /src/Fl_win32.cxx
parente72fa007e7468a5c4e73533a93fa929650f94013 (diff)
"Public members Fl::awake_ring_*_ should be private" (#559) - cont'd
Diffstat (limited to 'src/Fl_win32.cxx')
-rw-r--r--src/Fl_win32.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index e613e359e..ebe5355f1 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -491,7 +491,7 @@ double Fl_WinAPI_System_Driver::wait(double time_to_wait) {
DispatchMessageW(&fl_msg);
}
- // The following conditional test: !Fl::equal_awake_ring_ends()
+ // The following conditional test: !Fl_System_Driver::awake_ring_empty()
// equivalent to:
// (Fl::awake_ring_head_ != Fl::awake_ring_tail_)
// is a workaround / fix for STR #3143. This works, but a better solution
@@ -512,7 +512,7 @@ double Fl_WinAPI_System_Driver::wait(double time_to_wait) {
// recover and process any pending awake callbacks.
// Normally the ring buffer head and tail indices will match and this
// comparison will do nothing. Addresses STR #3143
- if (!Fl::equal_awake_ring_ends()) {
+ if (!Fl_System_Driver::awake_ring_empty()) {
process_awake_handler_requests();
}