summaryrefslogtreecommitdiff
path: root/src/dom.c
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2012-11-25 14:40:07 +0100
committerDaniel Carl <danielcarl@gmx.de>2012-11-25 14:43:51 +0100
commit94eaa94925de60522c2200caf97088e32a1b8579 (patch)
tree7ce339a7477d2e67504dd038ea7e4e59ca492112 /src/dom.c
parent89e8f7fd53f1305b0ac36b619a9ef40ed0538bf3 (diff)
Added macro to get the cleaned current browser mode.
Diffstat (limited to 'src/dom.c')
-rw-r--r--src/dom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dom.c b/src/dom.c
index 2769238..ef04e42 100644
--- a/src/dom.c
+++ b/src/dom.c
@@ -55,7 +55,7 @@ static gboolean dom_editable_focus_cb(WebKitDOMElement* element, WebKitDOMEvent*
webkit_dom_event_target_remove_event_listener(
WEBKIT_DOM_EVENT_TARGET(element), "focus", G_CALLBACK(dom_editable_focus_cb), true
);
- if (CLEAN_MODE(vp.state.mode) != VP_MODE_INSERT) {
+ if (GET_CLEAN_MODE() != VP_MODE_INSERT) {
WebKitDOMEventTarget* target = webkit_dom_event_get_target(event);
dom_auto_insert((void*)target);
}