Use standard sizes in texture pack locators

This commit is contained in:
notmatthewbeshay
2026-03-11 07:30:28 +11:00
parent d48bd03722
commit e5d5fb07be
4 changed files with 17 additions and 17 deletions

View File

@@ -79,7 +79,7 @@ void FolderTexturePack::loadUI()
// Load new skin
if(hasFile(L"TexturePack.xzp"))
{
const DWORD LOCATOR_SIZE = 256; // Use this to allocate space to hold a ResourceLocator string
static const int LOCATOR_SIZE = 256; // Use this to allocate space to hold a ResourceLocator string
WCHAR szResourceLocator[ LOCATOR_SIZE ];
swprintf(szResourceLocator, LOCATOR_SIZE,L"file://%lsTexturePack.xzp#skin_Minecraft.xur",getPath().c_str());