Use standard sizes in texture pack locators
This commit is contained in:
1 parent
d48bd03722
commit
e5d5fb07be
4 files changed
+17
-17
No files matched your search
@@ -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