summaryrefslogtreecommitdiffstats
path: root/libs/hwui/TextDropShadowCache.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-09-29 17:21:45 -0700
committerRomain Guy <romainguy@google.com>2011-09-29 17:21:45 -0700
commit59c7f80dd20258cefa1fc4bdd3c9a709a8dd53b8 (patch)
tree0dfddd8b5652e0efe219b75f8d65fe5ef33a3a0a /libs/hwui/TextDropShadowCache.h
parent9622e20486955e3a3c2f45c61b23650fb35e6559 (diff)
downloadframeworks_base-59c7f80dd20258cefa1fc4bdd3c9a709a8dd53b8.zip
frameworks_base-59c7f80dd20258cefa1fc4bdd3c9a709a8dd53b8.tar.gz
frameworks_base-59c7f80dd20258cefa1fc4bdd3c9a709a8dd53b8.tar.bz2
TextureView works best when it draws stuff.
Bug #5391188 Change-Id: I5e754881ccb08ff288ebd60de77282c9cbcf3f86
Diffstat (limited to 'libs/hwui/TextDropShadowCache.h')
-rw-r--r--libs/hwui/TextDropShadowCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/TextDropShadowCache.h b/libs/hwui/TextDropShadowCache.h
index 28dba13..e2bdde1 100644
--- a/libs/hwui/TextDropShadowCache.h
+++ b/libs/hwui/TextDropShadowCache.h
@@ -81,7 +81,7 @@ struct ShadowText {
LTE_INT(flags) {
LTE_INT(italicStyle) {
LTE_INT(scaleX) {
- return strncmp16(text, rhs.text, len >> 1) < 0;
+ return memcmp(text, rhs.text, len) < 0;
}
}
}