changeset 1149:d76ff9ca5658

line length
author Jorge Arellano Cid <jcid@dillo.org>
date Sun, 31 May 2009 16:13:02 -0400
parents 053eb660faaf
children 9b75aac0a62f
files src/colors.c src/form.cc src/uicmd.cc src/uicmd.hh
diffstat 4 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/colors.c	Fri May 29 16:23:03 2009 -0400
+++ b/src/colors.c	Sun May 31 16:13:02 2009 -0400
@@ -221,9 +221,9 @@
      *err = 0;
   else if (tail - s == 3) {       /* #RGB as allowed by CSS */
      *err = 0;
-	 ret_color = ((ret_color & 0xf00) << 12) | ((ret_color & 0xf00) << 8) |
-                 ((ret_color & 0x0f0) << 8) | ((ret_color & 0x0f0) << 4) |
-				 ((ret_color & 0x00f) << 4) | ((ret_color & 0x00f) << 0);
+         ret_color = ((ret_color & 0xf00) << 12) | ((ret_color & 0xf00) << 8) |
+                     ((ret_color & 0x0f0) << 8)  | ((ret_color & 0x0f0) << 4) |
+                     ((ret_color & 0x00f) << 4)  | ((ret_color & 0x00f) << 0);
   } else
      ret_color = default_color;
 
--- a/src/form.cc	Fri May 29 16:23:03 2009 -0400
+++ b/src/form.cc	Sun May 31 16:13:02 2009 -0400
@@ -199,7 +199,8 @@
                                 DilloHtmlEnc content_type, const char *charset,
                                 bool enabled)
 {
-   return new DilloHtmlForm (html, method, action, content_type, charset, enabled);
+   return new DilloHtmlForm (html, method, action, content_type, charset,
+                             enabled);
 }
 
 void a_Html_form_delete (DilloHtmlForm *form)
--- a/src/uicmd.cc	Fri May 29 16:23:03 2009 -0400
+++ b/src/uicmd.cc	Sun May 31 16:13:02 2009 -0400
@@ -389,7 +389,8 @@
  * Create a new UI and its associated BrowserWindow data structure.
  * Use style from v_ui. If non-NULL it must be of type UI*.
  */
-BrowserWindow *a_UIcmd_browser_window_new(int ww, int wh, uint32_t xid, const void *vbw)
+BrowserWindow *a_UIcmd_browser_window_new(int ww, int wh,
+                                          uint32_t xid, const void *vbw)
 {
    BrowserWindow *old_bw = (BrowserWindow*)vbw;
    BrowserWindow *new_bw = NULL;
--- a/src/uicmd.hh	Fri May 29 16:23:03 2009 -0400
+++ b/src/uicmd.hh	Sun May 31 16:13:02 2009 -0400
@@ -8,7 +8,8 @@
 #endif /* __cplusplus */
 
 
-BrowserWindow *a_UIcmd_browser_window_new(int ww, int wh, uint32_t xid, const void *v_bw);
+BrowserWindow *a_UIcmd_browser_window_new(int ww, int wh,
+                                          uint32_t xid, const void *v_bw);
 BrowserWindow *a_UIcmd_get_bw_by_widget(void *v_wid);
 void a_UIcmd_send_event_to_tabs_by_wid(int e, void *v_wid);
 void a_UIcmd_open_urlstr(void *vbw, const char *urlstr);