Fix issue 477: Crash when browsing drives that have no 'parent directory' entry

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1957 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2012-05-13 14:55:33 +00:00
parent 5864569bd6
commit 7443239566
2 changed files with 10 additions and 2 deletions

View File

@@ -367,6 +367,7 @@ int Analyze_command_line(int argc, char * argv[], char *main_filename, char *mai
}
break;
default:
printf("[%s]\n", argv[index]);
// Si ce n'est pas un paramètre, c'est le nom du fichier à ouvrir
if (file_in_command_line > 1)
{