]> git.saurik.com Git - android/aapt.git/blobdiff - AaptAssets.cpp
Fix writing text version of styleable IDs. do not merge.
[android/aapt.git] / AaptAssets.cpp
index 73705ae54ba1fa2589494de8fa0f5c28abb3d8c3..f2fa3f57e245f83798174d181ca2e9348445830e 100644 (file)
@@ -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;
             }