mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Logger: Fixed regression in 7960dfe
This commit is contained in:
parent
645ce0591d
commit
9c3808ea46
@ -256,6 +256,10 @@ void Logger::LogSectionVF(Logger::Level level, Section* section, const WCHAR* fo
|
|||||||
|
|
||||||
void Logger::LogMeterWindowVF(Logger::Level level, MeterWindow* meterWindow, const WCHAR* format, va_list args)
|
void Logger::LogMeterWindowVF(Logger::Level level, MeterWindow* meterWindow, const WCHAR* format, va_list args)
|
||||||
{
|
{
|
||||||
const WCHAR* sourceSz = meterWindow ? meterWindow->GetSkinPath().c_str() : L"";
|
std::wstring source;
|
||||||
GetLogger().LogVF(level, sourceSz, format, args);
|
if (meterWindow)
|
||||||
|
{
|
||||||
|
source = meterWindow->GetSkinPath().c_str();
|
||||||
|
}
|
||||||
|
GetLogger().LogVF(level, source.c_str(), format, args);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user