Fixed line endings issue with 9375b50

This commit is contained in:
Brian Ferguson 2013-01-16 10:33:02 -07:00
parent c807d270b5
commit 2fc204c6fa

View File

@ -63,7 +63,11 @@ void CMouse::ReadOptions(CConfigParser& parser, const WCHAR* section)
m_MouseActions[MOUSE_OVER] = parser.ReadString(section, L"MouseOverAction", L"", false);
m_MouseActions[MOUSE_LEAVE] = parser.ReadString(section, L"MouseLeaveAction", L"", false);
if (HasScrollAction()) { m_MeterWindow->SetHasMouseScrollAction(); }
if (HasScrollAction())
{
m_MeterWindow->SetHasMouseScrollAction();
}
const bool defaultState = (section == L"Rainmeter") ? true : m_MeterWindow->GetMouse().GetCursorState();
m_CursorState = 0!=parser.ReadInt(section, L"MouseActionCursor", defaultState);