Mercurial > vim
view src/proto/termlib.pro @ 31667:b89cfd86e18e v9.0.1166
patch 9.0.1166: code is indented more than necessary
Commit: https://github.com/vim/vim/commit/1cfb14aa972ccf3235ac67f07b7db1175b7c5384
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Jan 9 19:04:23 2023 +0000
patch 9.0.1166: code is indented more than necessary
Problem: Code is indented more than necessary.
Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
closes #11792)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 Jan 2023 20:15:03 +0100 |
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 : */