summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-03 22:08:45 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-03 22:08:45 +0200
commitee695f787ade7fd88fc5f5497553d95c0c3645b5 (patch)
tree222deac7781773672758c4466687c7367f014ef3 /src/screen.c
parentcf25fdb8f10a92b3bf9e295c466c1b69812b7886 (diff)
downloadvim-git-ee695f787ade7fd88fc5f5497553d95c0c3645b5.tar.gz
patch 7.4.2152v7.4.2152
Problem: No proper translation of messages with a count. Solution: Use ngettext(). (Sergey Alyoshin)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index b16bd87c7..f8d283fa2 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -2424,7 +2424,7 @@ fold_line(
linenr_T lnum,
int row)
{
- char_u buf[51];
+ char_u buf[FOLD_TEXT_LEN];
pos_T *top, *bot;
linenr_T lnume = lnum + fold_count - 1;
int len;