scripts/pnmtologo: fix for plain PBM
authorAndreas Bießmann <andreas@biessmann.de>
Thu, 18 Oct 2012 09:08:49 +0000 (11:08 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 20 Nov 2012 10:58:03 +0000 (11:58 +0100)
commitfc96b211bc6fa917bfb07a8db4cd898663e5f2c6
treee2b4d7aec43efd1d261b702858b67fff1f8fa144
parent16f890988114a1b2d7abb30dafb708d4513801da
scripts/pnmtologo: fix for plain PBM

PBM generated with current tools do not have a whitespace between the
digits. Therefore the pnmtologo tool fails to gernerate the required
C-Array for these images. This patch fixes that behaviour and can
handle both 'old style' and 'new style' PBM files.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/pnmtologo.c