projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed compiler warning
[rocksndiamonds.git]
/
src
/
files.c
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 ...");
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.");
unlink(filename_bmp);
Info("Done.");