summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-05-31 04:31:38 +0000
committercorvid <corvid@lavabit.com>2009-05-31 04:31:38 +0000
commitb3ff367d8928bcddb2eec544aff2bef10e5dc54c (patch)
tree0ba404a7586ee3dbcdfbf799d7c1f3310fdacaff
parent0524d6afd9ce024027c302db3b3cd42738b0260f (diff)
line length
-rw-r--r--dw/findtext.hh4
-rw-r--r--dw/iterator.hh6
-rw-r--r--dw/layout.hh3
-rw-r--r--src/form.cc2
-rw-r--r--src/uicmd.cc3
-rw-r--r--src/uicmd.hh3
6 files changed, 12 insertions, 9 deletions
diff --git a/dw/findtext.hh b/dw/findtext.hh
index 3a4ab2a7..8ef953e3 100644
--- a/dw/findtext.hh
+++ b/dw/findtext.hh
@@ -59,9 +59,9 @@ private:
*/
CharIterator *hlIterator;
- static const char* rev(const char* _str); /* Function to reverse a C-string */
+ static const char* rev(const char* _str); /* reverse a C string */
- static int *createNexttab (const char *needle, bool caseSens, bool backwards);
+ static int *createNexttab (const char *needle,bool caseSens,bool backwards);
bool unhighlight ();
bool search0 (bool backwards, bool firstTrial);
diff --git a/dw/iterator.hh b/dw/iterator.hh
index 1d4c2f98..f8fb4d31 100644
--- a/dw/iterator.hh
+++ b/dw/iterator.hh
@@ -66,9 +66,9 @@ public:
* \brief Shrink highlighted region to no longer contain the
* current content.
*
- * The direction parameter indicates whether the highlighted region should be
- * reduced from the start (direction > 0) or from the end (direction < 0).
- * If direction is 0 all content is unhighlighted.
+ * The direction parameter indicates whether the highlighted region should
+ * be reduced from the start (direction > 0) or from the end
+ * (direction < 0). If direction is 0 all content is unhighlighted.
*/
virtual void unhighlight (int direction, HighlightLayer layer) = 0;
diff --git a/dw/layout.hh b/dw/layout.hh
index a4214220..b910ac20 100644
--- a/dw/layout.hh
+++ b/dw/layout.hh
@@ -255,7 +255,8 @@ public:
emitter.connectLayout (receiver); }
/** \brief See dw::core::FindtextState::search. */
- inline FindtextState::Result search (const char *str, bool caseSens, int backwards)
+ inline FindtextState::Result search (const char *str, bool caseSens,
+ int backwards)
{ return findtextState.search (str, caseSens, backwards); }
/** \brief See dw::core::FindtextState::resetSearch. */
diff --git a/src/form.cc b/src/form.cc
index 452b524e..a97f9ea4 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -199,7 +199,7 @@ DilloHtmlForm *a_Html_form_new (DilloHtml *html, DilloHtmlMethod method,
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)
diff --git a/src/uicmd.cc b/src/uicmd.cc
index e3465e92..886a2a0b 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -389,7 +389,8 @@ void a_UIcmd_send_event_to_tabs_by_wid(int e, void *v_wid)
* 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;
diff --git a/src/uicmd.hh b/src/uicmd.hh
index 282f1b8b..cdf18ef4 100644
--- a/src/uicmd.hh
+++ b/src/uicmd.hh
@@ -8,7 +8,8 @@ extern "C" {
#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);