Skin Installer: Minor fix

This commit is contained in:
spx 2012-06-26 10:20:36 -07:00
parent 374b20ee34
commit cfd2a7e0ed

View File

@ -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)
{
g_Data.skinsPath = buffer;
if (g_Data.skinsPath.back() != L'\\' || g_Data.skinsPath.back() != L'/')
{
g_Data.skinsPath += L'\\';
}
}
else
{