1
0
Fork 0

GUI: corrected inverted statement

This commit is contained in:
mrexodia 2016-10-02 17:18:02 +02:00
parent e8bba4ef31
commit 802c08240b
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ QString SearchListViewTable::paintContent(QPainter* painter, dsint rowBase, int
isaddr = false; isaddr = false;
ULONGLONG val = 0; ULONGLONG val = 0;
duint wVA; duint wVA;
if(sscanf_s(text.toUtf8().constData(), "%llX", &val) != 1 && val) if(sscanf_s(text.toUtf8().constData(), "%llX", &val) != 1 || !val)
isaddr = false; isaddr = false;
else else
wVA = val; wVA = val;