mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-10 13:42:29 -05:00
text_viewer: callback functions are changed to the function that returns int value.
And the text viewer quits when the problem occurs by callback functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27172 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7195f3a30c
commit
07d03729ff
13 changed files with 56 additions and 25 deletions
|
|
@ -366,7 +366,8 @@ unsigned tv_display_menu(void)
|
|||
case 1: /* change settings */
|
||||
tv_copy_preferences(&new_prefs);
|
||||
result = tv_options_menu();
|
||||
tv_set_preferences(&new_prefs);
|
||||
if (!tv_set_preferences(&new_prefs))
|
||||
result = TV_MENU_RESULT_ERROR;
|
||||
break;
|
||||
case 2: /* playback control */
|
||||
playback_control(NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue