patch 9.1.0575: Wrong comments in alt_tabpage() Commit: https://github.com/vim/vim/commit/1a3dd7dc7847a3568fe96192a21e478f46c07929 Author: zeertzjq <zeert...@outlook.com> Date: Sat Jul 13 18:53:54 2024 +0200
patch 9.1.0575: Wrong comments in alt_tabpage() Problem: Wrong comments in alt_tabpage() (after v9.1.0572) Solution: Correct the comments (zeertzjq). closes: #15235 Signed-off-by: zeertzjq <zeert...@outlook.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/src/version.c b/src/version.c index 25e38ca55..c9113e628 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 575, /**/ 574, /**/ diff --git a/src/window.c b/src/window.c index c87cce001..db0bb1b62 100644 --- a/src/window.c +++ b/src/window.c @@ -3789,13 +3789,14 @@ alt_tabpage(void) if ((tcl_flags & TCL_USELAST) && valid_tabpage(lastused_tabpage)) return lastused_tabpage; - // Use the previous tab page, if possible. + // Use the next tab page, if possible. forward = curtab->tp_next != NULL && ((tcl_flags & TCL_LEFT) == 0 || curtab == first_tabpage); if (forward) tp = curtab->tp_next; else + // Use the previous tab page. for (tp = first_tabpage; tp->tp_next != curtab; tp = tp->tp_next) ; -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1sTxul-0091B0-Jq%40256bit.org.