X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/d35357226f49361bd6125654e5cff0bd5cab7556..03113329e40e017c1d4248b412e65c5b72101c67:/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; }