about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dump.c b/dump.c
index 1d3b6dc..86b0df4 100644
--- a/dump.c
+++ b/dump.c
@@ -43,7 +43,8 @@ int main(int argc, char *argv[]) {
 		if (!cards->surfaces[i]) continue;
 		char name[sizeof("00.bmp")];
 		snprintf(name, sizeof(name), "%02d.bmp", i);
-		SDL_SaveBMP(cards->surfaces[i], name);
+		int error = SDL_SaveBMP(cards->surfaces[i], name);
+		if (error) return fail("SDL_SaveBMP");
 	}
 
 	Cards_Free(cards);
tr class='logheader'>2018-03-31Add color scheme PNG generatorJune McEnroe 2018-03-31Simplify gfxx palette generationJune McEnroe 2018-03-31Switch to HSV for gfxx palette generationJune McEnroe 2018-03-30Generate default palette in gfxxJune McEnroe 2018-03-30Ignore build and cloneJune McEnroe 2018-03-30Set g:clipboard to pb{copy,paste} alwaysJune McEnroe Previously neovim would use these automatically if it found them, but now it only checks for them on macOS. pbd continues to work well. 2018-03-28Add d-_-b crateJune McEnroe