From 71bde05573a6f11ee516a8bf098a2e70351acc35 Mon Sep 17 00:00:00 2001 From: spx Date: Tue, 29 May 2012 20:45:03 -0700 Subject: [PATCH] Fixed mistake 902e734 --- Library/Rainmeter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Rainmeter.cpp b/Library/Rainmeter.cpp index 771e1ca7..1dd69176 100644 --- a/Library/Rainmeter.cpp +++ b/Library/Rainmeter.cpp @@ -3076,7 +3076,7 @@ void CRainmeter::ChangeSkinIndex(HMENU menu, int index) void CRainmeter::StartLogging() { // Check if the file exists - const WCHAR* logFile = m_LogViewer.c_str(); + const WCHAR* logFile = m_LogFile.c_str(); if (_waccess(logFile, 0) == -1) { // Create log file @@ -3109,7 +3109,7 @@ void CRainmeter::StopLogging() void CRainmeter::ShowLogFile() { // Check if the file exists - const WCHAR* logFile = m_LogViewer.c_str(); + const WCHAR* logFile = m_LogFile.c_str(); if (_waccess(logFile, 0) != -1) { RunFile(m_LogViewer.c_str(), logFile); @@ -3119,7 +3119,7 @@ void CRainmeter::ShowLogFile() void CRainmeter::DeleteLogFile() { // Check if the file exists - const WCHAR* logFile = m_LogViewer.c_str(); + const WCHAR* logFile = m_LogFile.c_str(); if (_waccess(logFile, 0) != -1) { std::wstring text = GetFormattedString(ID_STR_LOGFILEDELETE, logFile);