docs: misc (#29410)

Co-authored-by: Michael Härtl <haertl.mike@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
dundargoc
2024-07-04 23:20:45 +02:00
committed by GitHub
parent 71c50edceb
commit 25c59d08c4
7 changed files with 17 additions and 16 deletions

View File

@@ -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;

View File

@@ -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;