summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/viewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index cefc83beb2..73b145d009 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -2373,7 +2373,7 @@ static int col_limit(int col)
2373 if (col < 0) 2373 if (col < 0)
2374 col = 0; 2374 col = 0;
2375 else 2375 else
2376 if (col >= max_width) 2376 if (col >= max_width - draw_columns)
2377 col = max_width - draw_columns; 2377 col = max_width - draw_columns;
2378 2378
2379 return col; 2379 return col;