diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-11-26 14:35:29 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-11-26 14:35:29 +0000 |
commit | 62bc46cb1d7174a03256997587a941dcc0c65601 (patch) | |
tree | f7d96f0b937358b22342f0478a2e7030c438e408 /src/gui/curses | |
parent | a477f29cf852166d9ad26485406ed7036040d9ff (diff) | |
download | weechat-62bc46cb1d7174a03256997587a941dcc0c65601.zip |
Fixed display bug with long lines
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/gui-display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c index 6948981a4..413e3b96a 100644 --- a/src/gui/curses/gui-display.c +++ b/src/gui/curses/gui-display.c @@ -1285,7 +1285,8 @@ gui_display_line (t_gui_window *window, t_gui_line *line, int count, int simulat if (word_length > 0) { /* spaces + word too long for current line */ - if (window->win_chat_cursor_x + word_length_with_spaces > window->win_chat_width) + if ((window->win_chat_cursor_x + word_length_with_spaces > window->win_chat_width) + && (word_length < window->win_chat_width - line->length_align)) { gui_display_new_line (window, num_lines, count, &lines_displayed, simulate); |