From cb9cff382f6a431870e955be5ef7ef82b529c320 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Tue, 8 Jan 2013 09:29:34 +0100 Subject: [PATCH] Fix typo causing a NPE. --- src/com/fsck/k9/activity/MessageView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/activity/MessageView.java b/src/com/fsck/k9/activity/MessageView.java index 1e3e663bf..3ebd01ed4 100644 --- a/src/com/fsck/k9/activity/MessageView.java +++ b/src/com/fsck/k9/activity/MessageView.java @@ -447,7 +447,7 @@ public class MessageView extends K9FragmentActivity implements MessageViewFragme private void showNextMessage() { findSurroundingMessagesUid(); - if (mMessageReferences == null) { + if (mMessageReferences != null) { mMessageReferences.remove(mMessageReference); } if (mLastDirection == NEXT && mNextMessage != null) {