X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/f278f138487e78a7508f79e92cb9413914bbf501..a13c191a1bd25ae58ee787e74c9faceb67940bec:/AaptAssets.cpp diff --git a/AaptAssets.cpp b/AaptAssets.cpp index 73705ae..f2fa3f5 100644 --- a/AaptAssets.cpp +++ b/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; }