aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bmp.c2
-rw-r--r--main.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/bmp.c b/bmp.c
index 3abac0d..abc0db5 100644
--- a/bmp.c
+++ b/bmp.c
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
+#include <curses.h>
#include "map.h"
#include "path.h"
@@ -97,5 +98,6 @@ void map_to_bmp(Map map, size_t map_width, size_t map_height, Position start, Po
fclose(fout);
free(buf);
+ message(height, "Saved to %s", filename);
return;
}
diff --git a/main.c b/main.c
index b60b36c..a0d61dd 100644
--- a/main.c
+++ b/main.c
@@ -217,7 +217,6 @@ int main(int argc, char **argv) {
curs_set(0); /* Hide the cursor */
noecho(); /* Don't echo characters */
- message(height, "Saved to %s", filename);
getch();
break;