projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c94b5f
)
fixed compiler warning
author
Holger Schemel
<info@artsoft.org>
Sat, 3 Sep 2022 10:20:52 +0000
(12:20 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sat, 3 Sep 2022 10:22:24 +0000
(12:22 +0200)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index e8de1142ecf24f958da1c2b548b342472b0102c5..cdb890b92f52325e57ff16136f5696cadbbec4ae 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-13559,7
+13559,9
@@
void CreateCollectElementImages(void)
Info("Converting image file from BMP to PNG ...");
- system(cmd_convert);
+ if (system(cmd_convert) != 0)
+ Fail("converting image file failed");
+
unlink(filename_bmp);
Info("Done.");