diff options
| author | Zakk Roberts <midk@rockbox.org> | 2006-04-04 02:28:04 +0000 |
|---|---|---|
| committer | Zakk Roberts <midk@rockbox.org> | 2006-04-04 02:28:04 +0000 |
| commit | 0f842a16e50c455e0975ca07efba20a99ee1601d (patch) | |
| tree | db6bb8e85ce2ed8aa8a854da7d92e8e46309a79c /apps/plugins | |
| parent | 4c544b4e074d00c31ea79f5808ae465971ecd4b0 (diff) | |
| download | rockbox-0f842a16e50c455e0975ca07efba20a99ee1601d.zip rockbox-0f842a16e50c455e0975ca07efba20a99ee1601d.tar.gz rockbox-0f842a16e50c455e0975ca07efba20a99ee1601d.tar.bz2 rockbox-0f842a16e50c455e0975ca07efba20a99ee1601d.tar.xz | |
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
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/text_editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index 6767940..89fdc39 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c @@ -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); |