Commit ac13852c authored by Jim Krehl's avatar Jim Krehl
Browse files

svn path=/branches/version-2/; revision=150



svn path=/branches/version-2/; revision=150
parent f872f359
......@@ -3432,12 +3432,12 @@ egg_bookmark_file_add_application (EggBookmarkFile *bookmark,
egg_bookmark_file_add_item (bookmark, item, NULL);
}
if (name || name[0] != '\0')
if (name && name[0] != '\0')
app_name = g_strdup (name);
else
app_name = g_strdup (g_get_application_name ());
if (exec || exec[0] != '\0')
if (exec && exec[0] != '\0')
app_exec = g_strdup (exec);
else
app_exec = g_strjoin (" ", g_get_prgname(), "%u", NULL);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment