Skip to content

Commit f5c9630

Browse files
authored
Merge pull request #4850 from sleeptightAnsiC/fix_rcore__ChangeDirectory_TRACELOG
[rcore] fix: TRACELOG upon successfully changing directory
2 parents 46cd07d + 8e9c3ce commit f5c9630

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rcore.c

+1
Original file line numberDiff line numberDiff line change
@@ -2354,6 +2354,7 @@ bool ChangeDirectory(const char *dir)
23542354
bool result = CHDIR(dir);
23552355

23562356
if (result != 0) TRACELOG(LOG_WARNING, "SYSTEM: Failed to change to directory: %s", dir);
2357+
else TRACELOG(LOG_INFO, "SYSTEM: Working Directory: %s", dir);
23572358

23582359
return (result == 0);
23592360
}

0 commit comments

Comments
 (0)