summaryrefslogtreecommitdiff
path: root/src/dom.c
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2015-02-21 23:02:08 +0100
committerDaniel Carl <danielcarl@gmx.de>2015-02-21 23:02:08 +0100
commitf024337e5e0713fcdc37e0d662c862bb2574c97c (patch)
tree800cd045b1f20361f3364d9eed1ef64d228f92f1 /src/dom.c
parent3360a5b2d836eca6eec1397da48e309bafd728b5 (diff)
Merged code from mode.c into main.c
Diffstat (limited to 'src/dom.c')
-rw-r--r--src/dom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dom.c b/src/dom.c
index e5e1fc1..5850cc1 100644
--- a/src/dom.c
+++ b/src/dom.c
@@ -20,7 +20,6 @@
#include "config.h"
#include "main.h"
#include "dom.h"
-#include "mode.h"
extern VbCore vb;
@@ -208,7 +207,7 @@ static gboolean auto_insert(Element *element)
* want to remove the content and force a switch to input mode. And to
* switch to input mode when this is already active makes no sense. */
if (vb.mode->id == 'n' && dom_is_editable(element)) {
- mode_enter('i');
+ vb_enter('i');
return true;
}