mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Skin Installer: Minor fix
This commit is contained in:
parent
374b20ee34
commit
cfd2a7e0ed
@ -98,6 +98,10 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
|
|||||||
if (GetPrivateProfileString(L"Rainmeter", L"SkinPath", L"", buffer, MAX_LINE_LENGTH, buffer) > 0)
|
if (GetPrivateProfileString(L"Rainmeter", L"SkinPath", L"", buffer, MAX_LINE_LENGTH, buffer) > 0)
|
||||||
{
|
{
|
||||||
g_Data.skinsPath = buffer;
|
g_Data.skinsPath = buffer;
|
||||||
|
if (g_Data.skinsPath.back() != L'\\' || g_Data.skinsPath.back() != L'/')
|
||||||
|
{
|
||||||
|
g_Data.skinsPath += L'\\';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user