mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
make sure plugin reset backlight setting before exit. do code polish.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24076 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3e2aba0c3e
commit
dc010201a5
9 changed files with 73 additions and 71 deletions
|
@ -86,7 +86,7 @@ char* _do_action(int action, char* str, int line)
|
|||
break;
|
||||
case ACTION_REMOVE:
|
||||
if (line > line_count)
|
||||
return 0;
|
||||
return NULL;
|
||||
len = rb->strlen(&buffer[c])+1;
|
||||
rb->memmove(&buffer[c],&buffer[c+len],char_count-c-len);
|
||||
char_count -= len;
|
||||
|
@ -225,7 +225,7 @@ enum {
|
|||
};
|
||||
int do_item_menu(int cur_sel, char* copy_buffer)
|
||||
{
|
||||
int ret = 0;
|
||||
int ret = MENU_RET_NO_UPDATE;
|
||||
MENUITEM_STRINGLIST(menu, "Line Options", NULL,
|
||||
"Cut/Delete", "Copy",
|
||||
"Insert Above", "Insert Below",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue