diff options
Diffstat (limited to 'generator/pbmtext.c')
-rw-r--r-- | generator/pbmtext.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/generator/pbmtext.c b/generator/pbmtext.c index e52d5199..e6f27865 100644 --- a/generator/pbmtext.c +++ b/generator/pbmtext.c @@ -364,10 +364,11 @@ fixControlChars(const PM_WCHAR * const input, output[outCursor++] = L' '; } else if (currentChar > fontP->maxglyph || !fontP->glyph[currentChar]) { - if (currentChar > PM_FONT2_MAXGLYPH) - pm_message("code point %X is beyond what this program " - "can handle. Max=%X", - (unsigned int)currentChar, PM_FONT2_MAXGLYPH); + if (currentChar > PM_FONT2_MAXGLYPH) + pm_message("code point %X is beyond what this program " + "can handle. Max=%X", + (unsigned int)currentChar, PM_FONT2_MAXGLYPH); + /* Turn this unknown char into a single space. */ if (fontP->glyph[L' '] == NULL) pm_error("space character not defined in font"); |