]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scripts/pnmtologo: fix for plain PBM
authorAndreas Bießmann <andreas@biessmann.de>
Thu, 25 Oct 2012 01:14:54 +0000 (12:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 30 Oct 2012 04:15:15 +0000 (15:15 +1100)
commit2172ccaaf6fd5bf1d37cb9ca81af8b161f7a33c9
tree3d4cef66e427c1e83b548751f59f1ff03f87a891
parent1a096299243b4b0a9178f05a53d7f366d1e324fc
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>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/pnmtologo.c