From 07a4eccc7595c53863996fcc3d38d263f35ef5cc Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 23 Oct 2017 06:27:07 -0400 Subject: mq_notebook_get_n_pages(): Fix parentheses --- (limited to 'src') 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 -- cgit v0.9.1