summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font/cpdf_truetypefont.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-04-03 14:50:05 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-04-03 19:15:09 +0000
commit7e7c649237b9d537226e3026aa9b5831862eee5b (patch)
treea905847ec19b45c45e54e50ae527d2acbefa7f97 /core/fpdfapi/font/cpdf_truetypefont.cpp
parent044a70da2aeaa5f4c73abfb75e81f79edd9014b8 (diff)
downloadpdfium-7e7c649237b9d537226e3026aa9b5831862eee5b.tar.xz
Drop FXSYS_ from string methods
This Cl drops the FXSYS_ from string methods which are the same on all platforms. Bug: pdfium:694 Change-Id: I1698aafd84f40474997549ae91ce35603377e303 Reviewed-on: https://pdfium-review.googlesource.com/3597 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/font/cpdf_truetypefont.cpp')
-rw-r--r--core/fpdfapi/font/cpdf_truetypefont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cpdf_truetypefont.cpp b/core/fpdfapi/font/cpdf_truetypefont.cpp
index a87370f971..54e565bfd1 100644
--- a/core/fpdfapi/font/cpdf_truetypefont.cpp
+++ b/core/fpdfapi/font/cpdf_truetypefont.cpp
@@ -130,7 +130,7 @@ void CPDF_TrueTypeFont::LoadGlyphMap() {
}
if ((m_GlyphIndex[charcode] == 0 || m_GlyphIndex[charcode] == 0xffff) &&
name) {
- if (name[0] == '.' && FXSYS_strcmp(name, ".notdef") == 0) {
+ if (name[0] == '.' && strcmp(name, ".notdef") == 0) {
m_GlyphIndex[charcode] = FXFT_Get_Char_Index(m_Font.GetFace(), 32);
} else {
m_GlyphIndex[charcode] =