]> granicus.if.org Git - neomutt/commitdiff
Don't move the index cursor after a failed attempt to save a
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 19 Jan 2000 14:59:01 +0000 (14:59 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 19 Jan 2000 14:59:01 +0000 (14:59 +0000)
message.  From Joe Orton <joe@orton.demon.co.uk>.

commands.c

index 36d0ec54db70bd1838a45cfdc2f2c4e9e529d2b1..481ae2ce5ce10b6f3ac09265429fbdc779161926 100644 (file)
@@ -680,9 +680,10 @@ int mutt_save_message (HEADER *h, int delete,
     }
 
     mutt_clear_error ();
+    return (0);
   }
-
-  return (0);
+  
+  return -1;
 }
 
 static void print_msg (FILE *fp, CONTEXT *ctx, HEADER *h)