summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-windows.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-02-19 06:23:04 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-02-19 06:23:04 +0000
commit6b4a8388139161a9e6638b99340ee07cb8b5d5a4 (patch)
tree6c2fa4279a7108d6002973fbc165484f3e208067 /src/fe-text/gui-windows.c
parent1191bc2c2c9d8403ca2da7d98a3fdbe419ca2459 (diff)
downloadirssi-6b4a8388139161a9e6638b99340ee07cb8b5d5a4.zip
Moved /LASTLOG handling to lastlog.c. Added options -file <filename>
for writing lastlog to file, -window <ref#|name> for specifying which window's lastlog to print (output is always to active window) and -clear option to remove all lastlog lines from window. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1255 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-windows.c')
-rw-r--r--src/fe-text/gui-windows.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c
index d591c69f..832e5a57 100644
--- a/src/fe-text/gui-windows.c
+++ b/src/fe-text/gui-windows.c
@@ -789,7 +789,8 @@ static void signal_window_changed(WINDOW_REC *window)
screen_refresh_thaw();
}
-GList *gui_window_find_text(WINDOW_REC *window, gchar *text, GList *startline, int regexp, int fullword)
+GList *gui_window_find_text(WINDOW_REC *window, const char *text,
+ GList *startline, int regexp, int fullword)
{
#ifdef HAVE_REGEX_H
regex_t preg;
@@ -1130,7 +1131,7 @@ void gui_window_reformat_line(WINDOW_REC *window, LINE_REC *line)
raw->str[1] == (char)LINE_CMD_FORMAT_CONT) {
/* multiline format, format explained in one the
following lines. remove this line. */
- gui_window_line_remove(window, line);
+ gui_window_line_remove(window, line, FALSE);
} else if (str != NULL) {
/* FIXME: ugly ugly .. and this can't handle
non-formatted lines.. */