summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar-item.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-07-06 11:36:05 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-07-06 11:36:05 +0200
commit9d911f6c1179cbf7b04597e954e19a1b3567a5bf (patch)
tree0650d4ed92cd58151c2995584975b2f16ece669e /src/gui/gui-bar-item.c
parent28088484df5c0cebeb0b4c8887e12bb9c619bf33 (diff)
downloadweechat-9d911f6c1179cbf7b04597e954e19a1b3567a5bf.zip
Display number of lines remaining after last line displayed screen in "-MORE-" indicator
Diffstat (limited to 'src/gui/gui-bar-item.c')
-rw-r--r--src/gui/gui-bar-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c
index c91820afc..075f70734 100644
--- a/src/gui/gui-bar-item.c
+++ b/src/gui/gui-bar-item.c
@@ -851,9 +851,9 @@ gui_bar_item_default_scroll (void *data, struct t_gui_bar_item *item,
if (!window->scroll)
return NULL;
- snprintf (buf, sizeof (buf), "%s%s",
+ snprintf (buf, sizeof (buf), _("%s-MORE(%d)-"),
gui_color_get_custom (gui_color_get_name (CONFIG_COLOR(config_color_status_more))),
- _("-MORE-"));
+ window->scroll_lines_after);
return strdup (buf);
}