diff options
Fix insert_page math (++ → +2)
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | badwolf.c | 2 |
@@ -320,7 +320,7 @@ int badwolf_new_tab(GtkNotebook *notebook, GtkWidget *box) gint current_page = gtk_notebook_get_current_page(notebook); gtk_widget_show_all(box); - if(gtk_notebook_insert_page(notebook, box, NULL, current_page++) == -1) { + if(gtk_notebook_insert_page(notebook, box, NULL, (current_page+2)) == -1) { return -1; } |