AddressTextControl.cpp: Fix ordered comparison between pointer and zero.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

ticket : #13598
This commit is contained in:
Murai Takashi 2017-07-12 20:25:42 +09:00 committed by Adrien Destugues
parent 42123119d2
commit 11ed104c2d

View File

@ -776,7 +776,7 @@ AddressTextControl::MessageReceived(BMessage* message)
fRefDropMenu = new BPopUpMenu("RecipientMenu");
while (node.GetNextAttrName(buffer) == B_OK) {
if (strstr(buffer, "email") <= 0)
if (strstr(buffer, "email") == NULL)
continue;
attr = buffer;