ref: 8633da7c41569b0566fc1864ee0dfca1acc8d504
parent: cd47fcc4f1ee3a9555989a38235ad30831fd8057
author: cancel <cancel@cancel.fm>
date: Sat Jan 4 23:54:11 EST 2020
Cleanup
--- a/tui_main.c
+++ b/tui_main.c
@@ -3000,10 +3000,9 @@
} else {
undo_history_pop(&ged_state.undo_hist, &ged_state.field,
&ged_state.tick_num);
- Qmsg* msg = qmsg_push(3, 50);
- WINDOW* msgw = qmsg_window(msg);
- wmove(msgw, 0, 1);
- wprintw(msgw, "Error: %s", field_load_error_string(fle));
+ qmsg_printf_push("Error Loading File",
+ "%s:\n%s",
+ temp_name.str, field_load_error_string(fle));
}
}
heapstr_deinit(&temp_name);