]> git.cworth.org Git - sup/commitdiff
another minor bugfix
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Tue, 7 Aug 2007 04:16:53 +0000 (04:16 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Tue, 7 Aug 2007 04:16:53 +0000 (04:16 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@518 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/edit-message-mode.rb

index 22fedc732835979de64550b8fb2c7d724594af46..795e3b36475d72ffca52401b73a7ed800782f522 100644 (file)
@@ -254,7 +254,7 @@ protected
   ## with full=false) will be output as yaml.
   def write_message f, full=true, date=Time.now
     raise ArgumentError, "no pre-defined date: header allowed" if @header["Date"]
-    f.puts header_lines(@header)
+    f.puts format_headers(@header).first
     f.puts <<EOS
 Date: #{date.rfc2822}
 Message-Id: #{@message_id}