mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 09:23:32 +00:00
Replace package name in src/file/file.cpp with PACKAGE macro
This commit is contained in:
parent
3543b086d1
commit
2f2bd40c84
@ -145,7 +145,7 @@ FileOp* FileOp::createLoadDocumentOperation(Context* context, const char* filena
|
|||||||
|
|
||||||
if (!fop->m_format ||
|
if (!fop->m_format ||
|
||||||
!fop->m_format->support(FILE_SUPPORT_LOAD)) {
|
!fop->m_format->support(FILE_SUPPORT_LOAD)) {
|
||||||
fop->setError("ASEPRITE can't load \"%s\" files\n", extension.c_str());
|
fop->setError("%s can't load \"%s\" files\n", PACKAGE, extension.c_str());
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -239,7 +239,7 @@ FileOp* FileOp::createSaveDocumentOperation(const Context* context,
|
|||||||
|
|
||||||
if (!fop->m_format ||
|
if (!fop->m_format ||
|
||||||
!fop->m_format->support(FILE_SUPPORT_SAVE)) {
|
!fop->m_format->support(FILE_SUPPORT_SAVE)) {
|
||||||
fop->setError("ASEPRITE can't save \"%s\" files\n", extension.c_str());
|
fop->setError("%s can't save \"%s\" files\n", PACKAGE, extension.c_str());
|
||||||
return fop.release();
|
return fop.release();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user