summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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. */