From 2c48530ce1264d945528fb17bdd7f86e20f8649d Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Sat, 9 Mar 2013 12:29:21 +0100 Subject: [PATCH] fix rule cache tag comparison with previous item --- src/org/oscim/theme/MatchingCacheKey.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/oscim/theme/MatchingCacheKey.java b/src/org/oscim/theme/MatchingCacheKey.java index 24e2b1b4..a73d056a 100644 --- a/src/org/oscim/theme/MatchingCacheKey.java +++ b/src/org/oscim/theme/MatchingCacheKey.java @@ -33,7 +33,7 @@ class MatchingCacheKey { boolean set(Tag[] tags, MatchingCacheKey compare) { int length = tags.length; - if (compare != null && length == mTags.length) { + if (compare != null && length == compare.mTags.length) { int i = 0; for (; i < length; i++) { Tag t1 = tags[i];