summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r--src/gui/curses/gui-curses-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index b30c2e796..eb9929b32 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -1576,7 +1576,7 @@ gui_window_scroll_bottom (struct t_gui_window *window)
window->scroll->start_line = NULL;
if (window->buffer->lines->lines_count > window->win_chat_height)
{
- snprintf (scroll, sizeof (scroll), "-%d",
+ snprintf (scroll, sizeof (scroll), "--%d",
window->win_chat_height - 1);
gui_window_scroll (window, scroll);
}