X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/46eefaf3a45d4f33b3032ff86388358ec6dc775e..340d52d89027de6cab28e981402de4ea925d7936:/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; }