Parcourir la source
Merge pull request #4850 from sleeptightAnsiC/fix_rcore__ChangeDirectory_TRACELOG
[rcore] fix: TRACELOG upon successfully changing directory
pull/4854/head
Ray
il y a 1 semaine
committed by
GitHub
Parent
révision
f5c96302d5
Aucune clé connue n'a été trouvée dans la base pour cette signature
ID de la clé GPG: B5690EEEBB952194
1 fichiers modifiés avec
1 ajouts et
0 suppressions
-
src/rcore.c
|
|
@ -2354,6 +2354,7 @@ bool ChangeDirectory(const char *dir) |
|
|
|
bool result = CHDIR(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); |
|
|
|
} |
|
|
|