From cfd2a7e0ed05f41b0cf9b206c3663d3d02ff573e Mon Sep 17 00:00:00 2001 From: spx Date: Tue, 26 Jun 2012 10:20:36 -0700 Subject: [PATCH] Skin Installer: Minor fix --- SkinInstaller/Application.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SkinInstaller/Application.cpp b/SkinInstaller/Application.cpp index 24186dce..ca7d6b91 100644 --- a/SkinInstaller/Application.cpp +++ b/SkinInstaller/Application.cpp @@ -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 {