irx, nullptr, threading patch

This commit is contained in:
h4570
2022-08-20 16:38:44 +02:00
parent 57767eee72
commit d251df8704
35 changed files with 306 additions and 115 deletions
+3 -3
View File
@@ -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);
}
}