From a7bafcca2fc8409dbf29b0308bc69525131647ea Mon Sep 17 00:00:00 2001 From: crs Date: Thu, 13 Mar 2003 19:20:55 +0000 Subject: [PATCH] Fixed double locking of mutex. --- lib/platform/CXWindowsScreen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/platform/CXWindowsScreen.cpp b/lib/platform/CXWindowsScreen.cpp index cae5ff23..ba91e46b 100644 --- a/lib/platform/CXWindowsScreen.cpp +++ b/lib/platform/CXWindowsScreen.cpp @@ -561,7 +561,8 @@ CXWindowsScreen::getCursorPos(SInt32& x, SInt32& y) const y = my; } else { - getCursorCenter(x, y); + x = m_x + (m_w >> 1); + y = m_y + (m_h >> 1); } }