From: wmorgan Date: Mon, 22 Jan 2007 18:09:57 +0000 (+0000) Subject: minor bugfix (m can be nil) X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=c7ffc490fcd51a321a3ab60db129415fc1788b47;p=sup minor bugfix (m can be nil) git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@275 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb index b474a09..4fb7840 100644 --- 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