aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sfnt
diff options
context:
space:
mode:
Diffstat (limited to 'src/sfnt')
-rw-r--r--src/sfnt/SkOTUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sfnt/SkOTUtils.cpp b/src/sfnt/SkOTUtils.cpp
index 6e94437e2a..0925d0cda9 100644
--- a/src/sfnt/SkOTUtils.cpp
+++ b/src/sfnt/SkOTUtils.cpp
@@ -96,7 +96,7 @@ SkData* SkOTUtils::RenameFont(SkStream* fontData,
if (oldOffset > oldNameTableOffset) {
currentEntry->offset = SkEndian_SwapBE32(oldOffset - oldNameTablePhysicalSize);
}
- if (SkOTTableHead::TAG == tableEntry.tag) {
+ if (SkOTTableHead::TAG == currentEntry->tag) {
headTableEntry = currentEntry;
}
}