Fix code for loadlibrary on windows and fix code for certain platforms

This commit is contained in:
2025-01-26 09:22:10 -06:00
parent f2ce9d260c
commit 3f337239e4
4 changed files with 7 additions and 14 deletions

View File

@ -66,7 +66,7 @@ int main(int argc, char** argv)
Tesses::Framework::Streams::MemoryStream strm2(true);
if(source.starts_with("loadfile "))
if(source.find("loadfile ") == 0)
{
std::string filename = source.substr(9);
@ -121,4 +121,4 @@ int main(int argc, char** argv)
}
}
}
}