From c7ffc490fcd51a321a3ab60db129415fc1788b47 Mon Sep 17 00:00:00 2001 From: wmorgan Date: Mon, 22 Jan 2007 18:09:57 +0000 Subject: [PATCH] minor bugfix (m can be nil) git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@275 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- lib/sup/modes/thread-index-mode.rb | 2 +- 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 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 -- 2.45.2