]> 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>
Wed, 31 Oct 2012 05:49:48 +0000 (16:49 +1100)
commit1348518b2994d8e5ba5539ad48282c178d039e5f
treede80699aed485c59be5cdc7699f095df647af711
parent94f5891be90fecac7387309a88b4cdeb0fdd0bb9
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