From 7ebc86ca416bac2548eeb09c83f8420473399d1f Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Fri, 20 Jun 2014 09:27:40 +0000 Subject: [PATCH] Fixing report string. --- ede-launch/ede-launch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ede-launch/ede-launch.cpp b/ede-launch/ede-launch.cpp index 0218d2a..f672dbc 100644 --- a/ede-launch/ede-launch.cpp +++ b/ede-launch/ede-launch.cpp @@ -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]));