summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorMichael Vetter <g.bluehut@gmail.com>2014-09-11 19:10:33 +0200
committerMichael Vetter <g.bluehut@gmail.com>2014-09-11 19:10:33 +0200
commit51239925ec2931a065aeaee664793a0edbcd2c4a (patch)
tree92792766b7500f01a67d1d144c4028e699574e88 /src/fe-text
parent503cbeb330331e9ab6cf31af453f6232b10b12e2 (diff)
downloadirssi-51239925ec2931a065aeaee664793a0edbcd2c4a.zip
source cleanup: remove trailing whitespaces
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/gui-entry.c6
-rw-r--r--src/fe-text/irssi.c4
-rw-r--r--src/fe-text/statusbar.c2
-rw-r--r--src/fe-text/textbuffer-view.c2
-rw-r--r--src/fe-text/textbuffer-view.h2
5 files changed, 8 insertions, 8 deletions
diff --git a/src/fe-text/gui-entry.c b/src/fe-text/gui-entry.c
index f123ce4c..17a7c507 100644
--- a/src/fe-text/gui-entry.c
+++ b/src/fe-text/gui-entry.c
@@ -226,8 +226,8 @@ static void gui_entry_draw_from(GUI_ENTRY_REC *entry, int pos)
int i;
int xpos, end_xpos;
- xpos = entry->xpos + entry->promptlen +
- pos2scrpos(entry, pos + entry->scrstart) -
+ xpos = entry->xpos + entry->promptlen +
+ pos2scrpos(entry, pos + entry->scrstart) -
pos2scrpos(entry, entry->scrstart);
end_xpos = entry->xpos + entry->width;
@@ -730,7 +730,7 @@ void gui_entry_transpose_words(GUI_ENTRY_REC *entry)
g_free(second);
}
-
+
gui_entry_redraw_from(entry, spos1);
gui_entry_fix_cursor(entry);
gui_entry_draw(entry);
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index c0524247..77033d7a 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -346,9 +346,9 @@ int main(int argc, char **argv)
before this call.
locales aren't actually used for anything else than autodetection
- of UTF-8 currently..
+ of UTF-8 currently..
- furthermore to get the users's charset with g_get_charset() properly
+ furthermore to get the users's charset with g_get_charset() properly
you have to call setlocale(LC_ALL, "") */
setlocale(LC_ALL, "");
diff --git a/src/fe-text/statusbar.c b/src/fe-text/statusbar.c
index ef5abc55..b340553f 100644
--- a/src/fe-text/statusbar.c
+++ b/src/fe-text/statusbar.c
@@ -668,7 +668,7 @@ void statusbar_item_default_handler(SBAR_ITEM_REC *item, int get_size_only,
int escape_vars)
{
SERVER_REC *server;
- WI_ITEM_REC *wiitem;
+ WI_ITEM_REC *wiitem;
char *tmpstr, *tmpstr2;
theme_rm_col reset;
strcpy(reset.m, "n");
diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c
index 3099ee3e..e2e3707b 100644
--- a/src/fe-text/textbuffer-view.c
+++ b/src/fe-text/textbuffer-view.c
@@ -1228,7 +1228,7 @@ void textbuffer_view_remove_line(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line)
void textbuffer_view_remove_lines_by_level(TEXT_BUFFER_VIEW_REC *view, int level)
{
LINE_REC *line, *next;
-
+
term_refresh_freeze();
line = textbuffer_view_get_lines(view);
diff --git a/src/fe-text/textbuffer-view.h b/src/fe-text/textbuffer-view.h
index ab6786e0..21a9bde6 100644
--- a/src/fe-text/textbuffer-view.h
+++ b/src/fe-text/textbuffer-view.h
@@ -72,7 +72,7 @@ struct _TEXT_BUFFER_VIEW_REC {
/* how many empty lines are in screen. a screenful when started
or used /CLEAR */
- int empty_linecount;
+ int empty_linecount;
/* window is at the bottom of the text buffer */
unsigned int bottom:1;
/* if !bottom - new text has been printed since we were at bottom */