changeset 76:4b35f4b6225a

minor changes
author jcid
date Wed, 19 Dec 2007 13:39:49 +0100
parents 4dfc78307039
children dde7805095f4
files dpi/bookmarks.c src/html.cc
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/bookmarks.c	Wed Dec 19 02:34:14 2007 +0100
+++ b/dpi/bookmarks.c	Wed Dec 19 13:39:49 2007 +0100
@@ -174,10 +174,10 @@
 
 char *modifypage_sections_item =
 "    <tr><td>\n"
-"     <table width='100%%' bgcolor='#b4b4b4'cellspacing='0' cellpadding='0'>\n"
+"     <table width='100%%'>\n"
 "      <tr align='center'>"
-"       <td width='1%%'><input type='checkbox' name='s%d'></td>\n"
-"       <td><a href='#s%d'>%s</a></td></tr></table></td></tr>\n";
+"       <td><input type='checkbox' name='s%d'></td>\n"
+"       <td width='100%%'><a href='#s%d'>%s</a></td></tr></table></td></tr>\n";
 
 char *mainpage_sections_footer =
 "   </table>\n";
--- a/src/html.cc	Wed Dec 19 02:34:14 2007 +0100
+++ b/src/html.cc	Wed Dec 19 13:39:49 2007 +0100
@@ -3788,7 +3788,8 @@
             break;
          case DILLO_HTML_INPUT_TEXTAREA:
             MultiLineTextResource *textres;
-            textres = (MultiLineTextResource*)((Embed*)input->widget)->getResource();
+            textres = (MultiLineTextResource*)((Embed*)input->widget)
+                         ->getResource();
             Html_append_input(DataStr, input->name, textres->getText());
             break;
          case DILLO_HTML_INPUT_CHECKBOX:
@@ -4235,11 +4236,11 @@
    
       /* The HTML3.2 spec says it can have "text and character entities". */
       str = Html_parse_entities(html, html->Stash->str, html->Stash->len);
-   
       form = html->forms->getRef (html->forms->size() - 1);
       form->inputs->get(form->inputs->size() - 1).init_str = str;
       widget = (Widget*)(form->inputs->get(form->inputs->size() - 1).widget);
-      ((MultiLineTextResource *)((Embed *)widget)->getResource ())->setText(str);
+      ((MultiLineTextResource *)((Embed *)widget)->getResource ())
+         ->setText(str);
 
       html->InFlags &= ~IN_TEXTAREA;
    }