Minor tweaks.

This commit is contained in:
spx
2011-11-14 14:32:11 +00:00
parent 1869dc467a
commit e119672f1c
4 changed files with 39 additions and 31 deletions

View File

@ -323,7 +323,7 @@ BOOL LogInternal(int nLevel, ULONGLONG elapsed, LPCTSTR pszMessage)
// The stub implementation
if (Rainmeter->GetLogging())
{
std::wstring logfile = Rainmeter->GetLogFile();
const std::wstring& logfile = Rainmeter->GetLogFile();
if (logFound == 0)
{
// Check if the file exists