mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed mistake.
This commit is contained in:
parent
ac840c1599
commit
d20299b87a
@ -333,7 +333,10 @@ void LogInternal(int nLevel, ULONGLONG elapsed, LPCTSTR pszMessage)
|
||||
message += pszMessage;
|
||||
message += L'\n';
|
||||
|
||||
#ifdef _DEBUG
|
||||
_RPT0(_CRT_WARN, ConvertToAscii(message.c_str()).c_str());
|
||||
if (!Rainmeter->GetLogging()) return;
|
||||
#endif
|
||||
|
||||
const WCHAR* logFile = Rainmeter->GetLogFile().c_str();
|
||||
if (_waccess(logFile, 0) == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user