Mercurial > vim
diff src/libvterm/src/screen.c @ 18802:3be01cf0a632 v8.1.2389
patch 8.1.2389: using old C style comments
Commit: https://github.com/vim/vim/commit/707d226ac58da752ecc6b7620055fb1df3957a27
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 4 22:16:54 2019 +0100
patch 8.1.2389: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Dec 2019 22:30:07 +0100 |
parents | da6a7491e148 |
children | 3bd0d7cfddc9 |
line wrap: on
line diff
--- a/src/libvterm/src/screen.c +++ b/src/libvterm/src/screen.c @@ -773,7 +773,7 @@ int vterm_screen_get_cell(const VTermScr cell->bg = intcell->pen.bg; if(vterm_get_special_pty_type() == 2) { - /* Get correct cell width from cell information contained in line buffer */ + // Get correct cell width from cell information contained in line buffer if(pos.col < (screen->cols - 1) && getcell(screen, pos.row, pos.col + 1)->chars[0] == (uint32_t)-1) { if(getcell(screen, pos.row, pos.col)->chars[0] == 0x20) { @@ -798,8 +798,10 @@ int vterm_screen_get_cell(const VTermScr return 1; } -// Copy external to internal representation of a screen cell -/* static because it's only used internally for sb_popline during resize */ +/* + * Copy external to internal representation of a screen cell + * static because it's only used internally for sb_popline during resize + */ static int vterm_screen_set_cell(VTermScreen *screen, VTermPos pos, const VTermScreenCell *cell) { ScreenCell *intcell = getcell(screen, pos.row, pos.col);