mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-05 09:04:23 +03:00
C89
svn path=/trunk/netsurf/; revision=5440
This commit is contained in:
parent
29d1e44dec
commit
bee268fac3
@ -154,6 +154,7 @@ bool html_process_data(struct content *c, char *data, unsigned int size)
|
|||||||
{
|
{
|
||||||
unsigned long x;
|
unsigned long x;
|
||||||
binding_error err;
|
binding_error err;
|
||||||
|
const char *encoding;
|
||||||
|
|
||||||
for (x = 0; x + CHUNK <= size; x += CHUNK) {
|
for (x = 0; x + CHUNK <= size; x += CHUNK) {
|
||||||
LOG(("Parsing %d bytes", CHUNK));
|
LOG(("Parsing %d bytes", CHUNK));
|
||||||
@ -180,7 +181,7 @@ encoding_change:
|
|||||||
LOG(("Changing encoding"));
|
LOG(("Changing encoding"));
|
||||||
|
|
||||||
/* Retrieve new encoding */
|
/* Retrieve new encoding */
|
||||||
const char *encoding = binding_get_encoding(
|
encoding = binding_get_encoding(
|
||||||
c->data.html.parser_binding,
|
c->data.html.parser_binding,
|
||||||
&c->data.html.encoding_source);
|
&c->data.html.encoding_source);
|
||||||
|
|
||||||
|
@ -541,9 +541,9 @@ void layout_minmax_block(struct box *block, const struct font_functions *font_fu
|
|||||||
int extra_fixed = 0;
|
int extra_fixed = 0;
|
||||||
float extra_frac = 0;
|
float extra_frac = 0;
|
||||||
struct css_length size;
|
struct css_length size;
|
||||||
|
struct css_length gadget_size; /* Checkbox / radio buttons */
|
||||||
size.unit = CSS_UNIT_EM;
|
size.unit = CSS_UNIT_EM;
|
||||||
size.value = 10;
|
size.value = 10;
|
||||||
struct css_length gadget_size; /* Checkbox / radio buttons */
|
|
||||||
gadget_size.unit = CSS_UNIT_EM;
|
gadget_size.unit = CSS_UNIT_EM;
|
||||||
gadget_size.value = 1;
|
gadget_size.value = 1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user