aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2013-04-19 18:38:37 +0000
committercorvid <corvid@lavabit.com>2013-04-19 18:38:37 +0000
commit31cb72fdf49546055d77a85a6f6bda1e6faad705 (patch)
tree7aec6b43b3d4b97fa3ace90bf012b1b3c845a89a /src
parent794907e571d19dca3c2e093c5964c157ffbc6342 (diff)
trim some spaces
Diffstat (limited to 'src')
-rw-r--r--src/colors.c2
-rw-r--r--src/css.cc2
-rw-r--r--src/dialog.cc6
-rw-r--r--src/dillo.cc2
-rw-r--r--src/tipwin.cc2
-rw-r--r--src/uicmd.cc4
6 files changed, 9 insertions, 9 deletions
diff --git a/src/colors.c b/src/colors.c
index 18bf6e09..fe3598eb 100644
--- a/src/colors.c
+++ b/src/colors.c
@@ -242,7 +242,7 @@ static int32_t Color_parse_hex (const char *s, int32_t default_color, int *err)
* Parsed color if successful,
* default_color on error.
*
- * "err" argument:
+ * "err" argument:
* 0 if a color beginning with '#' is successfully parsed
* or the color is a recognized word.
* 1 if the color is bare hex or can't be parsed at all.
diff --git a/src/css.cc b/src/css.cc
index fd97e01e..d4dc72ad 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -88,7 +88,7 @@ void CssPropertyList::apply (CssPropertyList *props) {
for (int i = 0; i < size (); i++) {
CssPropertyValue value = getRef (i)->value;
- if (props->ownerOfStrings &&
+ if (props->ownerOfStrings &&
(getRef (i)->type == CSS_TYPE_STRING ||
getRef (i)->type == CSS_TYPE_SYMBOL))
value.strVal = strdup(value.strVal);
diff --git a/src/dialog.cc b/src/dialog.cc
index 92b99041..2c2781b1 100644
--- a/src/dialog.cc
+++ b/src/dialog.cc
@@ -362,7 +362,7 @@ int a_Dialog_choice(const char *title, const char *msg, ...)
Fl_Group *ib = new Fl_Group(0, 0, window->w(), window->h());
ib->begin();
window->resizable(ib);
-
+
/* '?' Icon */
Fl_Box *o = new Fl_Box(10, (wh - bh - ih) / 2, ih, ih);
o->box(FL_THIN_UP_BOX);
@@ -372,14 +372,14 @@ int a_Dialog_choice(const char *title, const char *msg, ...)
o->labelcolor(FL_BLUE);
o->label("?");
o->show();
-
+
if (msg != NULL){
Fl_Box *box = new Fl_Box(60, 0, ww - 60, wh - bh, msg);
box->labelfont(FL_HELVETICA);
box->labelsize(14);
box->align(FL_ALIGN_WRAP);
}
-
+
int xpos = gap;
va_start(ap, msg);
for (i = 1; i <= n; i++) {
diff --git a/src/dillo.cc b/src/dillo.cc
index cef3e451..bf25d315 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -277,7 +277,7 @@ static void setColors()
setUIColorWdef(PREFS_UI_TAB_ACTIVE_FG_COLOR, prefs.ui_tab_active_fg_color,
Fl::get_color(FL_FOREGROUND_COLOR));
setUIColorWdef(PREFS_UI_TAB_FG_COLOR, prefs.ui_tab_fg_color,
- Fl::get_color(FL_FOREGROUND_COLOR));
+ Fl::get_color(FL_FOREGROUND_COLOR));
}
/*
diff --git a/src/tipwin.cc b/src/tipwin.cc
index 100eb1c0..c8463eb5 100644
--- a/src/tipwin.cc
+++ b/src/tipwin.cc
@@ -174,7 +174,7 @@ CustButton::CustButton(int x, int y, int w, int h, const char *l) :
TipWinButton(x,y,w,h,l)
{
norm_color = color();
- light_color = PREFS_UI_BUTTON_HIGHLIGHT_COLOR;
+ light_color = PREFS_UI_BUTTON_HIGHLIGHT_COLOR;
}
int CustButton::handle(int e)
diff --git a/src/uicmd.cc b/src/uicmd.cc
index f08c7e70..e286ee9c 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -124,7 +124,7 @@ class CustTabs : public Fl_Group {
for (int i = 0; i < num_tabs(); ++i)
btns[i] = (CustTabButton*)Pack->child(i);
qsort(btns, num_tabs(), sizeof(CustTabButton *), btn_cmp);
- focus_counter = 0;
+ focus_counter = 0;
for (int i = 0; i < num_tabs(); ++i)
btns[i]->focus_num(focus_counter++);
dFree(btns);
@@ -497,7 +497,7 @@ static void win_cb (Fl_Widget *w, void *cb_data) {
// (most likely with modifiers).
return;
}
-
+
if (prefs.show_quit_dialog && ntabs > 1)
choice = a_Dialog_choice("Dillo: Close window?",
"Window contains more than one tab.",