diff options
author | Daniel Carl <danielcarl@gmx.de> | 2013-03-30 14:59:57 +0100 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2013-03-30 14:59:57 +0100 |
commit | bb43b0f151fb2f9df03b85c6ef546478bfd250ca (patch) | |
tree | e56860db3e321a3a2c4430753fe89dc4242cba82 /src/dom.c | |
parent | 59a46f7bbf5f5e571f6abe5876d3b8d9a25d197c (diff) |
Use lower case boolean values.
If they are lower case, vim can highlight them correct.
Diffstat (limited to 'src/dom.c')
-rw-r--r-- | src/dom.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -64,7 +64,7 @@ void dom_clear_focus(void) */ gboolean dom_is_editable(Element *element) { - gboolean result = FALSE; + gboolean result = false; char *tagname, *type; if (!element) { @@ -82,7 +82,7 @@ gboolean dom_is_editable(Element *element) ) { result = TRUE; } else { - result = FALSE; + result = false; } g_free(tagname); g_free(type); @@ -93,10 +93,10 @@ gboolean dom_is_editable(Element *element) static gboolean dom_auto_insert(Element *element) { if (dom_is_editable(element)) { - vb_set_mode(VB_MODE_INSERT, FALSE); + vb_set_mode(VB_MODE_INSERT, false); return TRUE; } - return FALSE; + return false; } static gboolean dom_editable_focus_cb(Element *element, Event *event) @@ -108,7 +108,7 @@ static gboolean dom_editable_focus_cb(Element *element, Event *event) EventTarget *target = webkit_dom_event_get_target(event); dom_auto_insert((void*)target); } - return FALSE; + return false; } static Element *dom_get_active_element(Document *doc) |