diff --git a/src/document/dom/stack.h b/src/document/dom/stack.h index 6a23aa08d..1b6137eb8 100644 --- a/src/document/dom/stack.h +++ b/src/document/dom/stack.h @@ -19,7 +19,7 @@ struct dom_stack_state { /* Used for recording which node list are currently being 'decended' * into. E.g. whether we are iterating all child elements or attributes - * of an element. */ + * of an element. */ struct dom_node_list *list; /* The index (in the list above) which are currently being handled. */ size_t index; diff --git a/src/document/html/parser/forms.c b/src/document/html/parser/forms.c index 956b71056..d5b04def8 100644 --- a/src/document/html/parser/forms.c +++ b/src/document/html/parser/forms.c @@ -38,7 +38,7 @@ void html_form(struct html_context *html_context, unsigned char *a, unsigned char *xxx3, unsigned char *xxx4, unsigned char **xxx5) - + { unsigned char *al; struct form *form; @@ -304,7 +304,7 @@ html_select(struct html_context *html_context, unsigned char *a, unsigned char *html, unsigned char *eof, unsigned char **end) { unsigned char *al; - + if (!do_html_select(a, html, eof, end, html_context)) return; diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c index b2d48dac9..542269348 100644 --- a/src/document/html/renderer.c +++ b/src/document/html/renderer.c @@ -1632,7 +1632,7 @@ html_special(struct html_context *html_context, enum html_special_type c, ...) struct part *part; struct document *document; void *ret_val = NULL; - + assert(html_context); if_assert_failed return NULL; @@ -1655,14 +1655,14 @@ html_special(struct html_context *html_context, enum html_special_type c, ...) case SP_FORM: { struct form *form = va_arg(l, struct form *); - + html_special_form(part, form); break; } case SP_CONTROL: { struct form_control *fc = va_arg(l, struct form_control *); - + html_special_form_control(part, fc); break; } @@ -1703,7 +1703,7 @@ html_special(struct html_context *html_context, enum html_special_type c, ...) frameset_desc = create_frameset(fsp); if (!fsp->parent && !document->frame_desc) document->frame_desc = frameset_desc; - + ret_val = frameset_desc; break; } @@ -1723,7 +1723,7 @@ html_special(struct html_context *html_context, enum html_special_type c, ...) { unsigned long seconds = va_arg(l, unsigned long); unsigned char *t = va_arg(l, unsigned char *); - + document->refresh = init_document_refresh(t, seconds); break; } @@ -1752,7 +1752,7 @@ html_special(struct html_context *html_context, enum html_special_type c, ...) } va_end(l); - + return ret_val; } diff --git a/src/scripting/see/core.c b/src/scripting/see/core.c index ca8d96123..491e75910 100644 --- a/src/scripting/see/core.c +++ b/src/scripting/see/core.c @@ -115,7 +115,7 @@ init_see(struct module *module) convert_see_string(&error_msg, value.u.string); #if 0 if (ctxt.throw_file) - fprintf(stderr, " (thrown from %s:%d)\n", + fprintf(stderr, " (thrown from %s:%d)\n", ctxt.throw_file, ctxt.throw_line); #endif } diff --git a/src/scripting/see/interface.c b/src/scripting/see/interface.c index 86cd1f4a2..cf253b2f8 100644 --- a/src/scripting/see/interface.c +++ b/src/scripting/see/interface.c @@ -146,7 +146,7 @@ navigator_alert(struct SEE_interpreter *see, struct SEE_object *self, N_("SEE Message"), ALIGN_LEFT, string.source); } -#if DATADRIVEN +#if DATADRIVEN _IDEA struct object_info browser_object[] = { "ELinks", SEE_ATTR_READONLY, @@ -155,7 +155,7 @@ struct object_info browser_object[] = { { "home", SEE_STRING, NULL, SEE_ATTR_READONLY }, }, { /* Methods: (as name, handler, args) */ - { "write", elinks_see_write, SEE_ATTR_READONLY }, + { "write", elinks_see_write, SEE_ATTR_READONLY }, { NULL } }, };