]> git.notmuchmail.org Git - sup/commitdiff
bugfix in reading replies
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sun, 4 Mar 2007 23:05:01 +0000 (23:05 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sun, 4 Mar 2007 23:05:01 +0000 (23:05 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@343 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/reply-mode.rb

index d6a8ecfca1915701417f07d0d00b928d4173d628..dee7aaa7bc57286d69b4539acc99d87adc87b647 100644 (file)
@@ -119,7 +119,7 @@ protected
   def reply_body_lines m
     lines = ["Excerpts from #{@m.from.name}'s message of #{@m.date}:"] + 
       m.basic_body_lines.map { |l| "> #{l}" }
-    lines.pop while lines.last !~ /[:alpha:]/
+    lines.pop while lines.last =~ /^\s*$/
     lines
   end