]> git.cworth.org Git - sup/commitdiff
(minor) remove warnings when run with -w
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 22 Jan 2008 20:24:03 +0000 (12:24 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 22 Jan 2008 20:24:03 +0000 (12:24 -0800)
lib/sup/message.rb
lib/sup/modes/thread-index-mode.rb

index 853f2fccb3676d4df05759d4b3e81e19df04efd4..d0c637054ee1f9f9986c1fda32fff37513b31c2a 100644 (file)
@@ -402,7 +402,7 @@ private
       ## otherwise, it's body text
       else
         body = Message.convert_from m.decode, m.charset if m.body
-        text_to_chunks (body || "").normalize_whitespace.split("\n"), encrypted
+        text_to_chunks((body || "").normalize_whitespace.split("\n"), encrypted)
       end
     end
   end
index dec3c1df47ad2db9bb24b2fd660d961955baef91..7686098454743312436277f130160ff8c6401b78 100644 (file)
@@ -145,7 +145,7 @@ EOS
 
   %w(read unread archived starred unstarred).each do |state|
     define_method "handle_#{state}_update" do |*a|
-      handle_simple_update *a
+      handle_simple_update(*a)
     end
   end