]> git.cworth.org Git - sup/commitdiff
Text bugfix from Brendan O'Connor
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 14 Nov 2007 15:54:35 +0000 (15:54 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 14 Nov 2007 15:54:35 +0000 (15:54 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@699 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/message-chunks.rb

index 8343c20483b936de8750d98a55421e0864aeabb4..0f7b38f5e10e3c53f700e279159360de5acb2563 100644 (file)
@@ -111,7 +111,7 @@ EOS
       @lines = lines.map { |l| l.chomp.wrap WRAP_LEN }.flatten # wrap
 
       ## trim off all empty lines except one
-      lines.pop while lines.last =~ /^\s*$/ 
+      @lines.pop while @lines.last =~ /^\s*$/ 
     end
 
     def inlineable?; true end