From 7e6249f7977690c23de90768ddfb2312fc9f84ea Mon Sep 17 00:00:00 2001 From: Brian Ferguson Date: Wed, 3 Oct 2012 15:14:44 -0600 Subject: [PATCH] Tweak --- Library/MeterWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/MeterWindow.cpp b/Library/MeterWindow.cpp index 4693c033..d5a451a9 100644 --- a/Library/MeterWindow.cpp +++ b/Library/MeterWindow.cpp @@ -1926,11 +1926,11 @@ bool CMeterWindow::ReadSkin() // Read options from Rainmeter.ini. ReadOptions(); - std::wstring context = m_Parser.ReadString(L"Rainmeter", L"ContextTitle", L""); - if (!context.empty()) + std::wstring cTitle = m_Parser.ReadString(L"Rainmeter", L"ContextTitle", L""); + if (!cTitle.empty()) { - context = m_Parser.ReadString(L"Rainmeter", L"ContextAction", L""); - if (!context.empty()) + std::wstring cAction = m_Parser.ReadString(L"Rainmeter", L"ContextAction", L""); + if (!cAction.empty() || _wcsicmp(cTitle.c_str(), L"SEPARATOR") == 0) { m_HasCustomContextMenu = true; }