Added error message

This commit is contained in:
Moritz Lipp 2010-06-16 22:52:28 +02:00
parent 824b56a032
commit b687cce13c

View File

@ -1008,6 +1008,7 @@ open_file(char* path, char* password)
char* file = (char*) calloc(sizeof(char), pm);
if(!file || !realpath(path, file))
{
notify(ERROR, "File does not exist");
if(file)
free(file);
return FALSE;