Additional change to ff7814b

This commit is contained in:
Birunthan Mohanathas 2012-07-17 08:48:35 +03:00
parent 92a0048511
commit f39d1a3eed

View File

@ -52,7 +52,8 @@ void CMouse::ReadOptions(CConfigParser& parser, const WCHAR* section, CMeterWind
m_CursorState = 0!=parser.ReadInt(section, L"MouseActionCursor", meterWindow->GetMouse().GetCursorState()); m_CursorState = 0!=parser.ReadInt(section, L"MouseActionCursor", meterWindow->GetMouse().GetCursorState());
const WCHAR* mouseCursor = parser.ReadString(section, L"MouseActionCursorName", L"HAND").c_str(); const WCHAR* defaultMouseCursor = (section == L"Rainmeter") ? L"HAND" : L"";
const WCHAR* mouseCursor = parser.ReadString(section, L"MouseActionCursorName", defaultMouseCursor).c_str();
if (_wcsicmp(mouseCursor, L"HAND") == 0) if (_wcsicmp(mouseCursor, L"HAND") == 0)
{ {
m_CursorType = MOUSECURSOR_HAND; m_CursorType = MOUSECURSOR_HAND;