diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-24 23:47:59 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-24 23:47:59 (EDT) |
commit | 50e776d502852db6398a3cca90c549ca296b5655 (patch) | |
tree | 952f8ea22db9769e865a94c4a2842c0c42db5077 | |
parent | 17bb4d51e0d17ebf632a02bff5ef0e12dbc5c69b (diff) | |
download | marquee-50e776d502852db6398a3cca90c549ca296b5655.zip marquee-50e776d502852db6398a3cca90c549ca296b5655.tar.gz marquee-50e776d502852db6398a3cca90c549ca296b5655.tar.bz2 |
MqTab: Count tabs internally from 1
-rw-r--r-- | src/tab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ update_tab_label(MqTab *tab) { gchar *label; - label = g_strdup_printf("%d. %s", tab->position + 1, tab->title); + label = g_strdup_printf("%d. %s", tab->position, tab->title); gtk_label_set_text(GTK_LABEL(tab->tab_label), label); gtk_widget_set_tooltip_text(tab->tab, label); g_free(label); |