diff options
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c index bfa51973b7..fde1fb7856 100644 --- a/src/screen.c +++ b/src/screen.c @@ -6265,8 +6265,7 @@ retry: new_ScreenLinesUC = (u8char_T *)lalloc((long_u)( (Rows + 1) * Columns * sizeof(u8char_T)), FALSE); for (i = 0; i < p_mco; ++i) - new_ScreenLinesC[i] = (u8char_T *)lalloc_clear((long_u)( - (Rows + 1) * Columns * sizeof(u8char_T)), FALSE); + new_ScreenLinesC[i] = xcalloc((Rows + 1) * Columns, sizeof(u8char_T)); } if (enc_dbcs == DBCS_JPNU) new_ScreenLines2 = (schar_T *)lalloc((long_u)( |