r5440 mmu_man - in /trunk/netsurf/render: html.c layout.c

netsurf at semichrome.net netsurf at semichrome.net
Fri Sep 26 00:33:14 BST 2008


Author: mmu_man
Date: Thu Sep 25 18:33:13 2008
New Revision: 5440

URL: http://source.netsurf-browser.org?rev=5440&view=rev
Log:
C89

Modified:
    trunk/netsurf/render/html.c
    trunk/netsurf/render/layout.c

Modified: trunk/netsurf/render/html.c
URL: http://source.netsurf-browser.org/trunk/netsurf/render/html.c?rev=5440&r1=5439&r2=5440&view=diff
==============================================================================
--- trunk/netsurf/render/html.c (original)
+++ trunk/netsurf/render/html.c Thu Sep 25 18:33:13 2008
@@ -154,6 +154,7 @@
 {
 	unsigned long x;
 	binding_error err;
+	const char *encoding;
 
 	for (x = 0; x + CHUNK <= size; x += CHUNK) {
 		LOG(("Parsing %d bytes", CHUNK));
@@ -180,7 +181,7 @@
 	LOG(("Changing encoding"));
 
 	/* Retrieve new encoding */
-	const char *encoding = binding_get_encoding(
+	encoding = binding_get_encoding(
 			c->data.html.parser_binding,
 			&c->data.html.encoding_source);
 

Modified: trunk/netsurf/render/layout.c
URL: http://source.netsurf-browser.org/trunk/netsurf/render/layout.c?rev=5440&r1=5439&r2=5440&view=diff
==============================================================================
--- trunk/netsurf/render/layout.c (original)
+++ trunk/netsurf/render/layout.c Thu Sep 25 18:33:13 2008
@@ -541,9 +541,9 @@
 	int extra_fixed = 0;
 	float extra_frac = 0;
 	struct css_length size;
+	struct css_length gadget_size; /* Checkbox / radio buttons */
 	size.unit = CSS_UNIT_EM;
 	size.value = 10;
-	struct css_length gadget_size; /* Checkbox / radio buttons */
 	gadget_size.unit = CSS_UNIT_EM;
 	gadget_size.value = 1;
 




More information about the netsurf-commits mailing list