Fixed and added some paths

This commit is contained in:
mathusummut
2019-04-05 23:37:26 +02:00
parent 3857de58b5
commit daeec74328
23 changed files with 96 additions and 91 deletions

View File

@@ -409,7 +409,7 @@ namespace Shared {
globfree(&globbuf);
if (results.empty() == true && errorOnNotFound == true) {
throw game_runtime_error("No files found in: " + mypath);
printf("%s", ("No files found in: " + mypath).c_str());
}
if (cutExtension) {

View File

@@ -83,7 +83,7 @@ namespace Shared {
if (fileStream.is_open() == false) {
if (SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem, "In [%s::%s Line: %d] path = [%s]\n", extractFileFromDirectoryPath(__FILE__).c_str(), __FUNCTION__, __LINE__, path.c_str());
printf("%s", "\nFile NOT FOUND, can't open file: [" + path + "]\n");
printf("%s", ("\nFile NOT FOUND, can't open file: [" + path + "]\n").c_str());
}
if (clearCurrentProperties == true) {