aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index a6919c5..e412f9d 100644
--- a/main.cpp
+++ b/main.cpp
@@ -13,6 +13,7 @@
#include "sciteco.h"
#include "interface.h"
#include "parser.h"
+#include "goto.h"
#include "qbuffers.h"
#include "undo.h"
@@ -156,6 +157,8 @@ main(int argc, char **argv)
}
g_free(mung_file);
+ interface.ssm(SCI_EMPTYUNDOBUFFER);
+ goto_table_clear();
undo.enabled = true;
interface.event_loop();