diff options
Diffstat (limited to 'src/thread/thread_os2.cpp')
-rw-r--r-- | src/thread/thread_os2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/thread_os2.cpp b/src/thread/thread_os2.cpp index 56f86275d..a6aa944b6 100644 --- a/src/thread/thread_os2.cpp +++ b/src/thread/thread_os2.cpp @@ -133,7 +133,7 @@ public: this->EndCritical(); DosWaitEventSem(event, SEM_INDEFINITE_WAIT); this->BeginCritical(); - this->recursive_count = this->recursive_count; + this->recursive_count = old_recursive_count; } /* virtual */ void SendSignal() |