diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-03-23 16:45:40 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-03-23 17:28:48 +0100 |
commit | ac5b25818ecef8ec311235ea64419e3ce1d9bf99 (patch) | |
tree | 2a5913a7b6acb69f98c850527d5363129433146f /source/fitz | |
parent | 5f8ed8d0b32e8a59e3e33ae6ef67c8e9afd58bab (diff) | |
download | mupdf-ac5b25818ecef8ec311235ea64419e3ce1d9bf99.tar.xz |
Fix declaration after statements.
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/noto.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/fitz/noto.c b/source/fitz/noto.c index 681a67da..891fa93b 100644 --- a/source/fitz/noto.c +++ b/source/fitz/noto.c @@ -40,7 +40,7 @@ return *size = fz_font_ ## NAME ## _size, fz_font_ ## NAME #define BASE14(NAME, FONT) \ - DEC_FONT(FONT); if (!strcmp(NAME, name)) RET_FONT(FONT) + if (!strcmp(NAME, name)) { DEC_FONT(FONT); RET_FONT(FONT); } const char * fz_lookup_base14_font(fz_context *ctx, const char *name, int *size) @@ -65,13 +65,14 @@ fz_lookup_base14_font(fz_context *ctx, const char *name, int *size) const char * fz_lookup_cjk_font(fz_context *ctx, int registry, int serif, int wmode, int *size, int *index) { - if (index) *index = wmode; #ifndef TOFU_CJK #ifndef TOFU_CJK_EXT DEC_FONT(DroidSansFallbackFull_ttc); + if (index) *index = wmode; RET_FONT(DroidSansFallbackFull_ttc); #else DEC_FONT(DroidSansFallback_ttc); + if (index) *index = wmode; RET_FONT(DroidSansFallback_ttc); #endif #else |