From 25c59d08c4df9952c606bbc96b7b26dca429bb9c Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Thu, 4 Jul 2024 23:20:45 +0200 Subject: docs: misc (#29410) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michael Härtl Co-authored-by: zeertzjq --- src/nvim/cmdexpand.c | 1 - src/nvim/tui/tui.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c index d235617ae1..db27e464a8 100644 --- a/src/nvim/cmdexpand.c +++ b/src/nvim/cmdexpand.c @@ -289,7 +289,6 @@ int nextwild(expand_T *xp, int type, int options, bool escape) p2 = ExpandOne(xp, p1, xstrnsave(&ccline->cmdbuff[i], xp->xp_pattern_len), use_options, type); xfree(p1); - // Longest match: make sure it is not shorter, happens with :help. if (p2 != NULL && type == WILD_LONGEST) { int j; diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index 57696b1839..67ada24cd7 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -1704,7 +1704,7 @@ void tui_guess_size(TUIData *tui) int width = 0; int height = 0; - // 1 - try from a system call(ioctl/TIOCGWINSZ on unix) + // 1 - try from a system call (ioctl/TIOCGWINSZ on unix) if (tui->out_isatty && !uv_tty_get_winsize(&tui->output_handle.tty, &width, &height)) { goto end; -- cgit