Replace package name in src/file/file.cpp with PACKAGE macro

This commit is contained in:
David Capello 2015-12-22 17:55:35 -03:00
parent 3543b086d1
commit 2f2bd40c84

View File

@ -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();
} }