2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

Windows fixes

This commit is contained in:
Jack Andersen
2017-11-13 17:34:05 -10:00
parent 67a0fff04d
commit b41b21cb4b
7 changed files with 16 additions and 15 deletions

View File

@@ -261,7 +261,7 @@ const ProjectPath& Project::getProjectCookedPath(const DataSpecEntry& spec) cons
for (const ProjectDataSpec& sp : m_compiledSpecs)
if (&sp.spec == &spec)
return sp.cookedPath;
LogModule.report(logvisor::Fatal, "Unable to find spec '%s'", spec.m_name);
LogModule.report(logvisor::Fatal, "Unable to find spec '%s'", spec.m_name.data());
return m_cookedRoot;
}
@@ -368,7 +368,7 @@ public:
{
SystemString submsg(m_file);
submsg += _S(" (");
submsg += specEnt->m_name;
submsg += specEnt->m_name.data();
submsg += _S(')');
if (m_progFunc)
m_progFunc(m_dir, submsg.c_str(), lidx, m_prog);
@@ -377,7 +377,7 @@ public:
{
SystemString submsg(m_file);
submsg += _S(" (");
submsg += specEnt->m_name;
submsg += specEnt->m_name.data();
submsg += _S(", ");
submsg += extra;
submsg += _S(')');