irx, nullptr, threading patch
This commit is contained in:
1 parent
57767eee72
commit
d251df8704
35 files changed
+306
-115
No files matched your search
@@ -34,11 +34,11 @@ void FileUtils::setPathInfo(const char* path) {
|
||||
strcpy(this->elfPath, path);
|
||||
|
||||
ptr = strrchr(this->elfPath, '/');
|
||||
if (ptr == NULL) {
|
||||
if (ptr == nullptr) {
|
||||
ptr = strrchr(this->elfPath, '\\');
|
||||
if (ptr == NULL) {
|
||||
if (ptr == nullptr) {
|
||||
ptr = strrchr(this->elfPath, ':');
|
||||
if (ptr == NULL) {
|
||||
if (ptr == nullptr) {
|
||||
TYRA_TRAP("Did not find path! PATH: ", path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user