sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 0a1ad0f615cc1a83b5ffc08ad5359a06d8b5028c
parent 2cf54b41bcf1155cd8c7bcb4c9f938fe26c3c6b0
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Thu,  8 Feb 2007 21:28:19 +0000

bugfix: split headers were broken in previous version

git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@307 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup/mbox.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/mbox.rb b/lib/sup/mbox.rb
@@ -38,7 +38,7 @@ module MBox
       when /^$/: break
       when /:/: last = nil
       else
-        header[last] += line.chomp.gsub(/^\s+/, "") if last
+        header[last] += " " + line.chomp.gsub(/^\s+/, "") if last
       end
     end
     header