diff options
-rw-r--r-- | tools/aapt/AaptAssets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/aapt/AaptAssets.cpp b/tools/aapt/AaptAssets.cpp index 73705ae..f2fa3f5 100644 --- a/tools/aapt/AaptAssets.cpp +++ b/tools/aapt/AaptAssets.cpp @@ -122,6 +122,7 @@ static bool isHidden(const char *root, const char *path) if (token[0] == '*') { // Match *suffix token++; + n--; if (n <= plen) { ignore = strncasecmp(token, path + plen - n, n) == 0; } |