From f39d1a3eed8da0e6fb91c2e1efda738678a6a889 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Tue, 17 Jul 2012 08:48:35 +0300 Subject: [PATCH] Additional change to ff7814b --- Library/Mouse.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Mouse.cpp b/Library/Mouse.cpp index 7c159a1e..fb52bf1d 100644 --- a/Library/Mouse.cpp +++ b/Library/Mouse.cpp @@ -52,7 +52,8 @@ void CMouse::ReadOptions(CConfigParser& parser, const WCHAR* section, CMeterWind 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) { m_CursorType = MOUSECURSOR_HAND;