Fix: don't ask for what file to save to if you 'Save Changes' with a file already opened.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9481 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4c544b4e07
commit
0f842a16e5
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ void save_changes(int overwrite)
|
||||||
int fd;
|
int fd;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (!filename[0] || overwrite)
|
if (!filename[0] || !overwrite)
|
||||||
{
|
{
|
||||||
rb->strcpy(filename,"/");
|
rb->strcpy(filename,"/");
|
||||||
rb->kbd_input(filename,1024);
|
rb->kbd_input(filename,1024);
|
||||||
|
|
Loading…
Reference in a new issue