Skip to content

Commit 9801e37

Browse files
committed
Fix two printw's
1 parent ccaa604 commit 9801e37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sprite.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ file_export(int y, int x)
242242

243243
if ((fp = fopen(buf, "w+")) == NULL) {
244244
move(21, 31);
245-
printw("Error: could not open %s for writing");
245+
printw("Error: could not open %s for writing", buf);
246246
goto out;
247247
}
248248

@@ -326,7 +326,7 @@ file_save(int y, int x)
326326

327327
if ((fp = fopen(buf, "w+")) == NULL) {
328328
move(21, 31);
329-
printw("Error: could not open %s for writing");
329+
printw("Error: could not open %s for writing", buf);
330330
goto out;
331331
}
332332

0 commit comments

Comments
 (0)