aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/main.cpp b/main.cpp
index 312064f..05324d3 100644
--- a/main.cpp
+++ b/main.cpp
@@ -100,8 +100,8 @@ process_options(int &argc, char **&argv)
int
main(int argc, char **argv)
{
- static GotoTable cmdline_goto_table;
- static QRegisterTable local_qregs;
+ static GotoTable cmdline_goto_table;
+ static QRegisterTable local_qregs;
process_options(argc, argv);
@@ -135,9 +135,10 @@ main(int argc, char **argv)
}
if (g_file_test(mung_file, G_FILE_TEST_IS_REGULAR)) {
- if (!file_execute(mung_file, false))
+ if (!Execute::file(mung_file, false))
exit(EXIT_FAILURE);
- /* FIXME: make quit immediate in commandline mode (non-UNDO)? */
+
+ /* FIXME: make quit immediate in batch/macro mode (non-UNDO)? */
if (quit_requested) {
/* FIXME */
exit(EXIT_SUCCESS);