summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2022-11-02 13:30:51 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-02 13:30:51 +0000
commitc57b5bcd22826e0852c2bc9c7d4382e1cac7cb74 (patch)
treed5163254047cdaa5cedd5caa4745727f6124eaf3 /src/screen.c
parent1410d1841bfc4370dec1babe24c6664e06d7c9d9 (diff)
patch 9.0.0828: various typosv9.0.0828
Problem: Various typos. Solution: Correct typos. (closes #11432)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index f8fca8a282..68142f4858 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -2287,7 +2287,7 @@ screen_char_2(unsigned off, int row, int col)
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);