mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Make kbd_input() show a cancel splash to indicate user abort better and for better consistency all over the place. Change checking for its return value (style-wise) at some places too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22269 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
345920fe7e
commit
18e40e0f4c
11 changed files with 26 additions and 21 deletions
|
@ -182,10 +182,9 @@ bool save_changes(int overwrite)
|
|||
|
||||
if (newfile || !overwrite)
|
||||
{
|
||||
if(rb->kbd_input(filename,MAX_PATH))
|
||||
if(rb->kbd_input(filename,MAX_PATH) < 0)
|
||||
{
|
||||
newfile = true;
|
||||
rb->splash(HZ, "Cancelled");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue