Should fix #448: make sure we go to the main file directory when wqloading one at startup.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1904 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
f77f38e238
commit
b92d66911f
@ -802,6 +802,12 @@ int Init_program(int argc,char * argv[])
|
|||||||
*Brush=MC_White;
|
*Brush=MC_White;
|
||||||
*Brush_original_pixels=MC_White;
|
*Brush_original_pixels=MC_White;
|
||||||
|
|
||||||
|
// Make sure the load dialog pointsto the right place when first shown.
|
||||||
|
// Done after loading everything else, but before checking for emergency
|
||||||
|
// backups
|
||||||
|
if (file_in_command_line > 0)
|
||||||
|
chdir(main_directory);
|
||||||
|
|
||||||
// Test de recuperation de fichiers sauvés
|
// Test de recuperation de fichiers sauvés
|
||||||
switch (Check_recovery())
|
switch (Check_recovery())
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user