changeset 35207:4d0dda47f203

Actually make use of max_sub_pos_for_source.
author reimar
date Tue, 30 Oct 2012 18:23:01 +0000
parents 63274beacefb
children 9e06c2e4844e
files command.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/command.c	Tue Oct 30 18:16:54 2012 +0000
+++ b/command.c	Tue Oct 30 18:23:01 2012 +0000
@@ -1769,6 +1769,8 @@
                     while (new_pos >= 0
                             && sub_source(mpctx) != source)
                         new_pos--;
+                    // cache for next time
+                    max_sub_pos_for_source = new_pos;
                 }
                 else
                     new_pos = max_sub_pos_for_source;