commit 1f9dcc58e015be992c3321e3e731fe7147833553
parent f7b27c55c1be05de3d7952f6a7cf630142e0bbcd
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Tue, 22 Jan 2008 12:24:03 -0800
(minor) remove warnings when run with -w
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/sup/message.rb b/lib/sup/message.rb
@@ -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
diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
@@ -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