diff options
author | Daniel Carl <danielcarl@gmx.de> | 2012-11-25 14:40:07 +0100 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2012-11-25 14:43:51 +0100 |
commit | 94eaa94925de60522c2200caf97088e32a1b8579 (patch) | |
tree | 7ce339a7477d2e67504dd038ea7e4e59ca492112 /src/dom.c | |
parent | 89e8f7fd53f1305b0ac36b619a9ef40ed0538bf3 (diff) |
Added macro to get the cleaned current browser mode.
Diffstat (limited to 'src/dom.c')
-rw-r--r-- | src/dom.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |