From c0cc3f2e707280f1900937349d194e5d0c24e5c8 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 27 Nov 2011 19:07:50 +0000 Subject: [PATCH] Fixed another silly mistake. --- SkinInstaller/Rainstaller.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SkinInstaller/Rainstaller.cpp b/SkinInstaller/Rainstaller.cpp index 2416053f..d13d43a4 100644 --- a/SkinInstaller/Rainstaller.cpp +++ b/SkinInstaller/Rainstaller.cpp @@ -1125,6 +1125,7 @@ bool InstallComponents(RMSKIN_DATA* data) result = unzGoToNextFile(ufile); unzGetCurrentFileInfo(ufile, &ufi, cBuffer, MAX_PATH * 3, NULL, 0, NULL, 0); + MultiByteToWideChar(CP_ACP, 0, cBuffer, strlen(cBuffer) + 1, buffer, MAX_PATH); } while (result == UNZ_OK && _wcsnicmp(filePath, L"Addons/", 7) == 0); continue; }