TrackerString.cpp: fix comparison between pointer and integer
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Ticket: #12842
This commit is contained in:
parent
07d59ab7db
commit
e019775491
@ -265,7 +265,7 @@ TrackerString::StringMatchesPattern(const char* string, const char* pattern,
|
||||
// Collapse any ** and *? constructions:
|
||||
while (*pattern == '*' || *pattern == '?') {
|
||||
pattern++;
|
||||
if (*pattern == '?' && string != '\0') {
|
||||
if (*pattern == '?' && *string != '\0') {
|
||||
string++;
|
||||
if (IsInsideGlyph(string[0]))
|
||||
string = MoveToEndOfGlyph(string);
|
||||
|
Loading…
Reference in New Issue
Block a user