From 180c838a8afa11b679e4a21c91a1c62dda1d617b Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 17 May 2011 12:08:22 +0000 Subject: [PATCH] small fix over previous commit Monotone-Parent: 5fb0fae471bb22f9c4ce7361ef22d9d213f30c0b Monotone-Revision: 4120c09ec69b99d41cd339f49faa9ae17aa03b61 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-05-17T12:08:22 Monotone-Branch: ca.inverse.sogo --- UI/MailPartViewers/UIxMailPartHTMLViewer.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UI/MailPartViewers/UIxMailPartHTMLViewer.m b/UI/MailPartViewers/UIxMailPartHTMLViewer.m index d7dd78e7b..d3c847140 100644 --- a/UI/MailPartViewers/UIxMailPartHTMLViewer.m +++ b/UI/MailPartViewers/UIxMailPartHTMLViewer.m @@ -180,8 +180,7 @@ static NSData* _sanitizeContent(NSData *theData) // We search until we find a '"' or a space j = 8; - //while (*(bytes+j) != ' ' || *(bytes+j) != '"') - while (*(bytes+j) != '"') + while (*(bytes+j) != ' ' && *(bytes+j) != '"') { j++;