aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--degesch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/degesch.c b/degesch.c
index d0aca74..03244f4 100644
--- a/degesch.c
+++ b/degesch.c
@@ -3168,8 +3168,7 @@ buffer_print_backlog (struct app_context *ctx, struct buffer *buffer)
free (buffer_name_localized);
// That is, minus the buffer switch line and the readline prompt
- int display_limit = MAX (MAX (10,
- (int) buffer->unseen_messages_count), g_terminal.lines - 2);
+ int display_limit = MAX (10, g_terminal.lines - 2);
struct buffer_line *line = buffer->lines_tail;
int to_display = line != NULL;