diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-23 06:27:07 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-23 06:27:07 (EDT) |
commit | 07a4eccc7595c53863996fcc3d38d263f35ef5cc (patch) | |
tree | 195be35c5c0870bdd96a1e31c397eb3e04baa377 /src | |
parent | 258ec1ac2507bf242c437dcc33c1acac58324894 (diff) | |
download | marquee-07a4eccc7595c53863996fcc3d38d263f35ef5cc.zip marquee-07a4eccc7595c53863996fcc3d38d263f35ef5cc.tar.gz marquee-07a4eccc7595c53863996fcc3d38d263f35ef5cc.tar.bz2 |
mq_notebook_get_n_pages(): Fix parentheses
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 |