mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Some minor fixes.
This commit is contained in:
@ -4377,7 +4377,8 @@ std::wstring CMeterWindow::MakePathAbsolute(std::wstring path)
|
||||
|
||||
std::wstring root = m_SkinPath + m_SkinName;
|
||||
|
||||
if (root[root.length() - 1] != L'\\')
|
||||
WCHAR ch = root[root.length() - 1];
|
||||
if (ch != L'\\' && ch != L'/')
|
||||
{
|
||||
root += L"\\";
|
||||
}
|
||||
|
Reference in New Issue
Block a user