]> 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>
Tue, 13 Nov 2012 05:15:40 +0000 (16:15 +1100)
commitdce639c026e11ec188e1d8a2ec799c3ccab5253b
treeff6f7b5c691786f4c95c2b2746f39239c531bca4
parent7bcc392983eeae50a1d67e80eb0aeb8552f60301
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