Fix: bad loader instancfe created for COM files

This commit is contained in:
nemerle 2016-05-10 14:48:46 +02:00
parent 9c6dfd676e
commit bc654cbf76

View File

@ -38,7 +38,7 @@ bool LoaderSelection::execute(CommandContext * ctx)
return true; return true;
} }
if(com_loader.canLoad(finfo)) { if(com_loader.canLoad(finfo)) {
proj->setLoader(new ExeLoader); proj->setLoader(new ComLoader);
return true; return true;
} }
ctx->recordFailure(this,QString("None of the available loaders can load file %1").arg(m_filename)); ctx->recordFailure(this,QString("None of the available loaders can load file %1").arg(m_filename));