diff options
author | Daniel Carl <danielcarl@gmx.de> | 2015-02-21 23:02:08 +0100 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2015-02-21 23:02:08 +0100 |
commit | f024337e5e0713fcdc37e0d662c862bb2574c97c (patch) | |
tree | 800cd045b1f20361f3364d9eed1ef64d228f92f1 /src/dom.c | |
parent | 3360a5b2d836eca6eec1397da48e309bafd728b5 (diff) |
Merged code from mode.c into main.c
Diffstat (limited to 'src/dom.c')
-rw-r--r-- | src/dom.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } |