]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scripts/pnmtologo: fix for plain PBM
authorAndreas Bießmann <andreas@biessmann.de>
Fri, 9 Nov 2012 03:04:36 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Nov 2012 04:17:14 +0000 (15:17 +1100)
commit5a9207a1f59486afb41fd60fecdef54d2b81460d
treee9cfe1608a357051f256d63082415cb02d5e8d1f
parent729971fbcc0dc84ac4d5be1b1b1651b007bed2ce
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