r13684 jmb - /trunk/netsurf/render/libdom_binding.c

netsurf at semichrome.net netsurf at semichrome.net
Sun Mar 25 12:41:39 BST 2012


Author: jmb
Date: Sun Mar 25 06:41:39 2012
New Revision: 13684

URL: http://source.netsurf-browser.org?rev=13684&view=rev
Log:
Use correct identity of ok

Modified:
    trunk/netsurf/render/libdom_binding.c

Modified: trunk/netsurf/render/libdom_binding.c
URL: http://source.netsurf-browser.org/trunk/netsurf/render/libdom_binding.c?rev=13684&r1=13683&r2=13684&view=diff
==============================================================================
--- trunk/netsurf/render/libdom_binding.c (original)
+++ trunk/netsurf/render/libdom_binding.c Sun Mar 25 06:41:39 2012
@@ -49,7 +49,7 @@
 	error = dom_hubbub_parser_parse_chunk(ctx, data, len);
 	if (error == (DOM_HUBBUB_HUBBUB_ERR | HUBBUB_ENCODINGCHANGE)) {
 		return BINDING_ENCODINGCHANGE;
-	} else if (error != DOM_NO_ERR) {
+	} else if (error != DOM_HUBBUB_OK) {
 		return BINDING_NOMEM;
 	}
 	return BINDING_OK;




More information about the netsurf-commits mailing list