|
|
@@ -268,7 +268,7 @@ void Shell::DisplayError(const char* fmt, ...)
|
|
|
buffer[len + 1] = '\0';
|
|
|
va_end(argument_list);
|
|
|
|
|
|
- MessageBox(window_handle, (LPCWSTR)Rml::StringUtilities::ToUTF16(buffer).c_str(), L"Shell Error", MB_OK);
|
|
|
+ MessageBoxW(window_handle, (LPCWSTR)Rml::StringUtilities::ToUTF16(buffer).c_str(), L"Shell Error", MB_OK);
|
|
|
}
|
|
|
|
|
|
void Shell::Log(const char* fmt, ...)
|
|
|
@@ -288,7 +288,7 @@ void Shell::Log(const char* fmt, ...)
|
|
|
buffer[len + 1] = '\0';
|
|
|
va_end(argument_list);
|
|
|
|
|
|
- OutputDebugString((LPCWSTR)Rml::StringUtilities::ToUTF16(buffer).c_str());
|
|
|
+ OutputDebugStringW((LPCWSTR)Rml::StringUtilities::ToUTF16(buffer).c_str());
|
|
|
}
|
|
|
|
|
|
double Shell::GetElapsedTime()
|