jpeg/png: Remove erased file name from list of file when change file.
commit3b57e90c6cd8d1c18344c21507c6e6b286787224
authorteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Wed, 18 Nov 2009 13:54:14 +0000 (18 13:54 +0000)
committerteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Wed, 18 Nov 2009 13:54:14 +0000 (18 13:54 +0000)
tree95c5918cbbde0046ac34d8e5daa739d7567ead14
parent7981db10889d1f8193aef65d6bb6f3002e94c98d
jpeg/png: Remove erased file name from list of file when change file.
Change trivial check of entries (entries is always > 0).
Fix bug of r23632 that error message is shown when change file while there is only one file.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23662 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/jpeg/jpeg.c
apps/plugins/png/png.c