diff options
author | John Abd-El-Malek <jam@chromium.org> | 2014-05-20 10:29:41 -0700 |
---|---|---|
committer | John Abd-El-Malek <jam@chromium.org> | 2014-05-20 10:29:41 -0700 |
commit | 5ce98f54618a57509bd33df0a67cb53e0a755edc (patch) | |
tree | 391296b40b4a302a566743827e4e0a80c60e2339 /core/src/fpdfapi | |
parent | 41f0590a9d7d627783a1b11c86808959928fc1a6 (diff) | |
download | pdfium-5ce98f54618a57509bd33df0a67cb53e0a755edc.tar.xz |
Fix warning on Mac.
Diffstat (limited to 'core/src/fpdfapi')
-rw-r--r-- | core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp | 2 |
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;
|