summaryrefslogtreecommitdiff
path: root/community/tilda/tab-count-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/tilda/tab-count-fix.patch')
-rwxr-xr-xcommunity/tilda/tab-count-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/tilda/tab-count-fix.patch b/community/tilda/tab-count-fix.patch
new file mode 100755
index 000000000..b0e1522a1
--- /dev/null
+++ b/community/tilda/tab-count-fix.patch
@@ -0,0 +1,11 @@
+--- a/src/tilda_window.c
++++ b/src/tilda_window.c
+@@ -378,7 +378,7 @@ static gboolean goto_tab_generic (tilda_window *tw, guint tab_number)
+
+ if (g_list_length (tw->terms) > (tab_number-1))
+ {
+- goto_tab (tw, g_list_length (tw->terms) - tab_number);
++ goto_tab (tw, tab_number - 1);
+ return TRUE;
+ }
+