]> 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>
Mon, 29 Oct 2012 03:17:24 +0000 (14:17 +1100)
commit3fa7c55c9562a233e6f50a5bdec972ea65e37c58
tree1b6a61debf0c60d10ae1fb41ddaf1b06207571c0
parent9fff7d35a21e6c918a1cdfd45c14ec4fd0d3bad6
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