mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Don't crash if first line in window is just a newline
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@943 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
043d9b8079
commit
d174cc6db0
@ -472,6 +472,8 @@ static void sig_printtext_finished(WINDOW_REC *window)
|
||||
GUI_WINDOW_REC *gui;
|
||||
|
||||
gui = WINDOW_GUI(window);
|
||||
if (gui->cur_line == NULL)
|
||||
return;
|
||||
|
||||
if (format->len > 0) {
|
||||
/* save format of the line */
|
||||
|
Loading…
Reference in New Issue
Block a user