diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/notebook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notebook.c b/src/notebook.c index f5572b6..118a42e 100644 --- a/src/notebook.c +++ b/src/notebook.c @@ -250,7 +250,7 @@ mq_notebook_insert_child(MqNotebook *notebook, const gchar *uri, gint mq_notebook_get_n_pages(MqNotebook *notebook) { - return mq_tree_size(MQ_TREE(notebook->tree) - 1); + return mq_tree_size(MQ_TREE(notebook->tree)) - 1; } void |