From 21d95c62f471e1b875a893baeb486996f780d50d Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 24 Jul 2012 23:09:31 +0200 Subject: [PATCH] Correctly use nth tab, not n - 1 to append --- midori/midori-browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index fb129b6d..62d5061a 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -1801,7 +1801,7 @@ _midori_browser_add_tab (MidoriBrowser* browser, katze_array_move_item (browser->proxy_array, item, n); } else - n = midori_browser_get_n_pages (browser) - 1; + n = midori_browser_get_n_pages (browser); katze_item_set_meta_integer (item, "append", -1); #ifdef HAVE_GRANITE -- 2.39.5