fix "save as" not showing the current filename

* We attempted to set this but it was overwritten when enumerating the files.
* This makes it easier to save the file in the same dir, with another name.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2111 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2015-03-04 10:12:18 +00:00
parent fa80a10093
commit 32defb8897
2 changed files with 4 additions and 6 deletions

View File

@@ -3466,8 +3466,6 @@ void Save_picture(enum CONTEXT_TYPE type)
dotpos = filename + strlen(filename);
strcpy(dotpos, ".pal");
printf("FILEN %s\n", filename);
strcpy(directory, Main_backups->Pages->File_directory);
Init_context_layered_image(&save_context, filename, directory);
save_context.Type = CONTEXT_PALETTE;