Mercurial > vim
diff src/screen.c @ 30986:360f286b5869 v9.0.0828
patch 9.0.0828: various typos
Commit: https://github.com/vim/vim/commit/c57b5bcd22826e0852c2bc9c7d4382e1cac7cb74
Author: dundargoc <gocdundar@gmail.com>
Date: Wed Nov 2 13:30:51 2022 +0000
patch 9.0.0828: various typos
Problem: Various typos.
Solution: Correct typos. (closes https://github.com/vim/vim/issues/11432)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Nov 2022 14:45:11 +0100 |
parents | c7983f593fa7 |
children | 9716c7d24c12 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -2287,7 +2287,7 @@ screen_char_2(unsigned off, int row, int if (off + 1 >= (unsigned)(screen_Rows * screen_Columns)) return; - // Outputting the last character on the screen may scrollup the screen. + // Outputting the last character on the screen may scroll the screen up. // Don't to it! Mark the character invalid (update it when scrolled up) if (row == screen_Rows - 1 && col >= screen_Columns - 2) { @@ -2734,7 +2734,7 @@ retry: if (enc_dbcs == DBCS_JPNU) new_ScreenLines2 = LALLOC_MULT(schar_T, (Rows + 1) * Columns); new_ScreenAttrs = LALLOC_MULT(sattr_T, (Rows + 1) * Columns); - // Clear ScreenCols to avoid a warning for unitialized memory in + // Clear ScreenCols to avoid a warning for uninitialized memory in // jump_to_mouse(). new_ScreenCols = LALLOC_CLEAR_MULT(colnr_T, (Rows + 1) * Columns); new_LineOffset = LALLOC_MULT(unsigned, Rows);