Fixed syntax accessing method reviewed by Unknown W. Brackets <checkins@unknownbrackets.org>

Signed-off-by: lainon <GermanAizek@yandex.ru>
This commit is contained in:
Unknown W. Brackets authored and lainon committed 2022-10-03 10:47:55 +03:00
1 parent 3cdf72b68b
commit 09f0c0c8fd
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ FileLoader *ConstructFileLoader(const Path &filename) {
// TODO : improve, look in the file more
IdentifiedFileType Identify_File(FileLoader *fileLoader, std::string *errorString) {
(*errorString).clear();
errorString->clear();
if (fileLoader == nullptr) {
*errorString = "Invalid fileLoader";
return IdentifiedFileType::ERROR_IDENTIFYING;