]> git.cworth.org Git - sup/commitdiff
bugfix: next/return
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Tue, 11 Sep 2007 23:28:22 +0000 (23:28 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Tue, 11 Sep 2007 23:28:22 +0000 (23:28 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@564 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/thread-view-mode.rb

index 2c2df048f66f36f113db23732583cac577a949e2..abee11668c0a138fdb9def02b856e0d05dc94c91 100644 (file)
@@ -197,7 +197,7 @@ class ThreadViewMode < LineCursorMode
     else
       m = @message_lines[curpos]
       fn = BufferManager.ask_for_filename :filename, "Save message to file: "
-      next unless fn
+      return unless fn
       save_to_file(fn) do |f|
         m.each_raw_full_message_line { |l| f.print l }
       end