Fixing report string.

This commit is contained in:
Sanel Zukan 2014-06-20 09:27:40 +00:00
parent d6dd94778c
commit 7ebc86ca41
1 changed files with 2 additions and 1 deletions

View File

@ -420,7 +420,7 @@ static bool start_desktop_file(const char *cmd) {
}
if(!d.exec(buf, PATH_MAX)) {
alert(_("Unable to run '%s'.\nProbably this file is malformed or 'Exec' key has non-installed program"), cmd);
alert(_("Unable to run '%s'.\nProbably the file is malformed or 'Exec' key has program which is not installed"), cmd);
return false;
}
@ -624,6 +624,7 @@ int main(int argc, char** argv) {
return 1;
}
}
/* check if we have .desktop file */
if(argv[ca] && str_ends(argv[ca], ".desktop"))
return RETURN_FROM_BOOL(start_desktop_file(argv[ca]));