commit c7ffc490fcd51a321a3ab60db129415fc1788b47
parent ed9de82b65194cbe2dc15b14ec9af665b2ded2c4
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Mon, 22 Jan 2007 18:09:57 +0000
minor bugfix (m can be nil)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@275 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
@@ -61,7 +61,7 @@ class ThreadIndexMode < LineCursorMode
## TODO: don't regen text completely
Redwood::reporting_thread do
BufferManager.say("Loading message bodies...") do |sid|
- t.each { |m, *o| m.load_from_source! }
+ t.each { |m, *o| m.load_from_source! if m }
end
mode = ThreadViewMode.new t, @hidden_labels
BufferManager.spawn t.subj, mode