summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-24 22:22:28 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-24 22:22:28 (EDT)
commit6e5f93e5b15e6990c1e93b8ae4f3ca8d5a0d0c11 (patch)
treeef6067210e29e402361d8ab5f3e18c25d01c071f /src
parent719cc091e94acbf4594f3070cd07101f57ce686f (diff)
downloadmarquee-6e5f93e5b15e6990c1e93b8ae4f3ca8d5a0d0c11.zip
marquee-6e5f93e5b15e6990c1e93b8ae4f3ca8d5a0d0c11.tar.gz
marquee-6e5f93e5b15e6990c1e93b8ae4f3ca8d5a0d0c11.tar.bz2
mq_tab_seek(): Fix node iteration statement
Diffstat (limited to 'src')
-rw-r--r--src/tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tab.c b/src/tab.c
index 93aae37..ba632ee 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -379,7 +379,7 @@ mq_tab_seek(MqTab *node, guint position)
{
/* Skip forward to the containing subtree. */
while (node && node->position + node->tree_size <= position) {
- node->next;
+ node = node->next;
}
/* Check whether we've gone past the end of the tree. */