Fix a problem spotted in FS#10543. For F_CHOICE_SETTING, an invalid value would ...
commitd965bd3d8e90e53503f0a1152da4f716c44b3639
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Mon, 24 Aug 2009 16:12:45 +0000 (24 16:12 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Mon, 24 Aug 2009 16:12:45 +0000 (24 16:12 +0000)
tree5e0fba76d959df68cb1ec73cd59dcdb24b0696d6
parent75e8aa269b694cb74b8ce9a42c99341abbdeae69
Fix a problem spotted in FS#10543. For F_CHOICE_SETTING, an invalid value would (which may happen if the values changed e.g. due to the statusbar at bottom addition) lead to the correspong 0 value, instead of leaving the setting untouched. Fix it by not calling atoi() for F_CHOICE_SETTING (they don't have int-like values).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22499 a1c6a512-1295-4272-9138-f99709370657
apps/settings.c