]> git.saurik.com Git - android/aapt.git/commitdiff
am 0748a569: Merge "aapt: Remove terminal pointer incrementaion"
authorJean-Baptiste Queru <jbq@google.com>
Sat, 2 Jun 2012 16:56:45 +0000 (09:56 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Sat, 2 Jun 2012 16:56:45 +0000 (09:56 -0700)
* commit '0748a5698776d1a9693a5449ffc983af26cc533b':
  aapt: Remove terminal pointer incrementaion

AaptAssets.cpp

index 7d735ad424e6b38889d05b62946c80fe718c6dd9..eba77c258acbf41367bb77dc8cadd674f3308027 100644 (file)
@@ -122,7 +122,6 @@ 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;
             }