- use the string pool for storing resource file names.
This commit is contained in:
parent
6d2047eef6
commit
54dc687436
8 changed files with 35 additions and 33 deletions
|
|
@ -227,7 +227,7 @@ bool F7ZFile::Open(LumpFilterInfo *filter, FileSystemMessageFunc Printf)
|
|||
Archive = NULL;
|
||||
if (res == SZ_ERROR_UNSUPPORTED)
|
||||
{
|
||||
Printf(FSMessageLevel::Error, "%s: Decoder does not support this archive\n", FileName.c_str());
|
||||
Printf(FSMessageLevel::Error, "%s: Decoder does not support this archive\n", File_Name);
|
||||
}
|
||||
else if (res == SZ_ERROR_MEM)
|
||||
{
|
||||
|
|
@ -300,7 +300,7 @@ bool F7ZFile::Open(LumpFilterInfo *filter, FileSystemMessageFunc Printf)
|
|||
|
||||
if (SZ_OK != Archive->Extract(Lumps[0].Position, &temp[0]))
|
||||
{
|
||||
Printf(FSMessageLevel::Error, "%s: unsupported 7z/LZMA file!\n", FileName.c_str());
|
||||
Printf(FSMessageLevel::Error, "%s: unsupported 7z/LZMA file!\n", File_Name);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue