Merge pull request #4850 from sleeptightAnsiC/fix_rcore__ChangeDirectory_TRACELOG
[rcore] fix: TRACELOG upon successfully changing directory
This commit is contained in:
commit
f5c96302d5
1 changed files with 1 additions and 0 deletions
|
@ -2354,6 +2354,7 @@ bool ChangeDirectory(const char *dir)
|
||||||
bool result = CHDIR(dir);
|
bool result = CHDIR(dir);
|
||||||
|
|
||||||
if (result != 0) TRACELOG(LOG_WARNING, "SYSTEM: Failed to change to directory: %s", dir);
|
if (result != 0) TRACELOG(LOG_WARNING, "SYSTEM: Failed to change to directory: %s", dir);
|
||||||
|
else TRACELOG(LOG_INFO, "SYSTEM: Working Directory: %s", dir);
|
||||||
|
|
||||||
return (result == 0);
|
return (result == 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue