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:
Zakk Roberts 2006-04-04 02:28:04 +00:00
parent 4c544b4e07
commit 0f842a16e5

View file

@ -170,7 +170,7 @@ void save_changes(int overwrite)
int fd;
int i;
if (!filename[0] || overwrite)
if (!filename[0] || !overwrite)
{
rb->strcpy(filename,"/");
rb->kbd_input(filename,1024);