From 56cdfa88c9eba792a5abdb4844c3cd6676b72201 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 27 Dec 2009 16:50:44 +0000 Subject: [PATCH] tiny grammar fix --- src/com/fsck/k9/activity/MessageList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index d93c7b6a1..55ab3d27c 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -215,7 +215,7 @@ public class MessageList public void folderLoading(String folder, boolean loading) { - if (mCurrentFolder.name.equals(folder)) + if (mCurrentFolder != null && mCurrentFolder.name.equals(folder)) { mCurrentFolder.loading = loading; } @@ -422,7 +422,7 @@ public class MessageList /** * On resume we refresh - * messages for any folder that is currently open. This guarantees that things + * messages for the folder that is currently open. This guarantees that things * like unread message count and read status are updated. */ @Override