summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp b/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp
index 9157b96420..e11d93380a 100644
--- a/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp
+++ b/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp
@@ -567,7 +567,7 @@ void FX_GetCharWidth(CTFontRef font, UniChar start, UniChar end, int* width)
{
CGFloat size = CTFontGetSize(font);
for (; start <= end; ++start) {
- CGGlyph pGlyph = NULL;
+ CGGlyph pGlyph = 0;
CFIndex count = 1;
CTFontGetGlyphsForCharacters(font, &start, &pGlyph, count);
CGSize advances;