Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Jul 20, 2021
1 parent ec79f69 commit 712e9b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Bootstrap/Core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@ void Core::SetBasePath()
BasePath = new char[filepathstr2.size() + 1];
std::copy(filepathstr2.begin(), filepathstr2.end(), BasePath);
BasePath[filepathstr2.size()] = '\0';
#define MONO_STR(s) ((s ## Mono) = Encoding::OsToUtf8((s)))
MONO_STR(BasePath);
#undef MONO_STR
BasePathMono = Encoding::OsToUtf8(BasePath);
}

bool Core::DirectoryExists(const char* path) { struct stat Stat; return ((stat(path, &Stat) == 0) && (Stat.st_mode & S_IFDIR)); }
Expand Down

0 comments on commit 712e9b0

Please sign in to comment.