diff options
| author | Ray <[email protected]> | 2022-01-03 20:45:19 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-01-03 20:45:19 +0100 |
| commit | 62858e11f7f3474713460d371b14c41040a89ea9 (patch) | |
| tree | 39c354f453cf4112f2eef394c63d7b932bcc4451 /src | |
| parent | 744bbd12a7e28cb5b428a3ee83e2daeb4fc0d331 (diff) | |
| download | raylib-62858e11f7f3474713460d371b14c41040a89ea9.tar.gz raylib-62858e11f7f3474713460d371b14c41040a89ea9.zip | |
Review tracelogs
Diffstat (limited to 'src')
| -rw-r--r-- | src/raudio.c | 3 | ||||
| -rw-r--r-- | src/rtextures.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/raudio.c b/src/raudio.c index 5d177d9a..67510dc2 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -985,6 +985,9 @@ bool ExportWaveAsCode(Wave wave, const char *fileName) success = SaveFileText(fileName, txtData); RL_FREE(txtData); + + if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Wave as code exported successfully", fileName); + else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export wave as code", fileName); return success; } diff --git a/src/rtextures.c b/src/rtextures.c index ea906d29..a7f4323b 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -592,8 +592,8 @@ bool ExportImageAsCode(Image image, const char *fileName) #endif // SUPPORT_IMAGE_EXPORT - if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Image exported successfully", fileName); - else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export image", fileName); + if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Image as code exported successfully", fileName); + else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export image as code", fileName); return success; } |
