Fixed another silly mistake.

This commit is contained in:
Birunthan Mohanathas 2011-11-27 19:07:50 +00:00
parent 3caeff7049
commit c0cc3f2e70

View File

@ -1125,6 +1125,7 @@ bool InstallComponents(RMSKIN_DATA* data)
result = unzGoToNextFile(ufile); result = unzGoToNextFile(ufile);
unzGetCurrentFileInfo(ufile, &ufi, cBuffer, MAX_PATH * 3, NULL, 0, NULL, 0); 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); } while (result == UNZ_OK && _wcsnicmp(filePath, L"Addons/", 7) == 0);
continue; continue;
} }