Jump to the next *sub*-thread when tag-subthread is invoked,
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 15 May 2007 19:05:53 +0000 (21:05 +0200)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 15 May 2007 19:05:53 +0000 (21:05 +0200)
not to the next thread.

curs_main.c

index 8e26dedbf4cd05ec4a3a943042b210c7b8072e12..ffd0e6feea8b127bd95cc07e82fb045fac63bcb8 100644 (file)
@@ -2090,7 +2090,10 @@ int mutt_index_menu (void)
        {
          if (option (OPTRESOLVE))
          {
-           menu->current = mutt_next_thread (CURHDR);
+           if (op == OP_TAG_THREAD)
+             menu->current = mutt_next_thread (CURHDR);
+           else
+             menu->current = mutt_next_subthread (CURHDR);
 
            if (menu->current == -1)
              menu->current = menu->oldcurrent;