Mercurial > vim
view src/proto/termlib.pro @ 24379:8d5e4b50c2e1 v8.2.2730
patch 8.2.2730: Coverity complains about not restoring character
Commit: https://github.com/vim/vim/commit/c9605f0595173bca0f158f2782de950ac6bed147
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 6 21:29:32 2021 +0200
patch 8.2.2730: Coverity complains about not restoring character
Problem: Coverity complains about not restoring character.
Solution: Also restore the character in case of an error.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 06 Apr 2021 21:30:05 +0200 |
parents | 21b0a39d13ed |
children |
line wrap: on
line source
/* termlib.c */ int tgetent(char *tbuf, char *term); int tgetflag(char *id); int tgetnum(char *id); char *tgetstr(char *id, char **buf); char *tgoto(char *cm, int col, int line); int tputs(char *cp, int affcnt, void (*outc)(unsigned int)); /* vim: set ft=c : */