wrlib: remove duplicate code from xpm support
commit1e06e1e29bb47dbffc31910d45f01e7d55ea3b39
authorDavid Maciejak <david.maciejak@gmail.com>
Tue, 26 Aug 2014 15:02:35 +0000 (26 23:02 +0800)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 26 Aug 2014 16:55:34 +0000 (26 17:55 +0100)
tree47031a6669ea22a740b1f83df3f97b0e06948338
parent4005557bb3d1c46fd67bc190d2927d1ebec7a14a
wrlib: remove duplicate code from xpm support

This patch is removing the duplicate code by
using functions create_rimage_xpm and is_xpm_error
previously created.
wrlib/load_xpm.c