about summary refs log tree commit diff
path: root/generator
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-10-07 20:04:21 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-10-07 20:04:21 +0000
commit0321d8b558e99d9a47592eedc7d757b4594aa6c0 (patch)
treed9d910aed4654743e30a4e92f5fc61b45d932366 /generator
parent23492f102ee458967b68844a266310a1dccbdedf (diff)
downloadnetpbm-mirror-0321d8b558e99d9a47592eedc7d757b4594aa6c0.tar.gz
netpbm-mirror-0321d8b558e99d9a47592eedc7d757b4594aa6c0.tar.xz
netpbm-mirror-0321d8b558e99d9a47592eedc7d757b4594aa6c0.zip
whitespace
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3400 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator')
-rw-r--r--generator/pbmtext.c9
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");