diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-07-23 11:34:44 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-07-23 11:34:44 -0700 |
commit | 065e9321b84fc0490f3da9099e8840c65e06868d (patch) | |
tree | 3b0bb772a59669f06b86824a444fd06642592d4b /public | |
parent | 3c012fef2bb72c8ec1faa73e11ee35539b2559d6 (diff) | |
download | pdfium-065e9321b84fc0490f3da9099e8840c65e06868d.tar.xz |
Fix FX_BOOL type mismatches.
Extracted from https://codereview.chromium.org/1252613002/
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1253603002 .
Diffstat (limited to 'public')
-rw-r--r-- | public/fpdf_sysfontinfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/fpdf_sysfontinfo.h b/public/fpdf_sysfontinfo.h index dbadb89afe..61465f4262 100644 --- a/public/fpdf_sysfontinfo.h +++ b/public/fpdf_sysfontinfo.h @@ -94,13 +94,13 @@ typedef struct _FPDF_SYSFONTINFO { * charset - Character set identifier for the requested font. See above defined constants. * pitch_family - A combination of flags. See above defined constants. * face - Typeface name. Currently use system local encoding only. - * bExact - Pointer to an boolean value receiving the indicator whether mapper found the exact match. + * bExact - Pointer to a boolean value receiving the indicator whether mapper found the exact match. * If mapper is not sure whether it's exact match, ignore this paramter. * Return Value: * An opaque pointer for font handle, or NULL if system mapping is not supported. **/ - void* (*MapFont)(struct _FPDF_SYSFONTINFO* pThis, int weight, int bItalic, int charset, int pitch_family, - const char* face, int* bExact); + void* (*MapFont)(struct _FPDF_SYSFONTINFO* pThis, int weight, FPDF_BOOL bItalic, int charset, int pitch_family, + const char* face, FPDF_BOOL* bExact); /** * Method: GetFont |