From 1cc3898461318a85a3b089181c7dd4eaf2e63462 Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Sat, 2 Jul 2016 18:04:01 +0900
Subject: [PATCH 32/33] TrackerString.cpp: fix comparison between pointer and
integer
---
src/kits/tracker/TrackerString.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kits/tracker/TrackerString.cpp b/src/kits/tracker/TrackerString.cpp
index b559139..be4bbef 100644
a
|
b
|
TrackerString::StringMatchesPattern(const char* string, const char* pattern,
|
265 | 265 | // Collapse any ** and *? constructions: |
266 | 266 | while (*pattern == '*' || *pattern == '?') { |
267 | 267 | pattern++; |
268 | | if (*pattern == '?' && string != '\0') { |
| 268 | if (*pattern == '?' && *string != '\0') { |
269 | 269 | string++; |
270 | 270 | if (IsInsideGlyph(string[0])) |
271 | 271 | string = MoveToEndOfGlyph(string); |