mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-24 09:56:29 +00:00
Use standard sizes in texture pack locators
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user