Commit 4d6a885c authored by Emmanuel Lepage Vallee's avatar Emmanuel Lepage Vallee
Browse files

Fix regression

parent e9ae581b
......@@ -197,7 +197,7 @@ on_clicked(GtkTextBuffer *textbuffer UNUSED, GtkTextIter *location UNUSED, GtkTe
end_link = NULL;
if (strlen(text)) {
gchar* url_command = eel_gconf_get_string(MESSAGING_URL_COMMAND);
if (!strlen(url_command))
if (url_command && !strlen(url_command))
url_command = "xdg-open";
const gchar* argv[3] = {url_command,text,(char*)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