commit | 8cb8dca2f0683a29a2cb441a8cd995d25c29d79c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jul 06 18:27:39 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jul 06 18:27:39 2012 +0200 |
tree | 5f470668d9ab29bac417a4d2083ebb8bb3cdb008 | |
parent | 0306ac33a53114113825242d22d103ee0e3504f9 [diff] [blame] |
updated for version 7.3.591 Problem: Can only move to a tab by absolute number. Solution: Move a number of tabs to the left or the right. (Lech Lorens)
diff --git a/src/window.c b/src/window.c index c65f49d..6460684 100644 --- a/src/window.c +++ b/src/window.c
@@ -3929,7 +3929,7 @@ } /* Re-insert it at the specified position. */ - if (n == 0) + if (n <= 0) { curtab->tp_next = first_tabpage; first_tabpage = curtab;