diff --git a/midori/sokoke.c b/midori/sokoke.c index 66ae0f30..db185997 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -378,9 +378,13 @@ sokoke_spawn_program (const gchar* command, else { /* FIXME: Implement Hildon specific version */ + gchar* uri_format; gchar* command_ready; gchar** argv; + if ((uri_format = strstr (command, "%u"))) + uri_format[1] = 's'; + if (strstr (command, "%s")) command_ready = g_strdup_printf (command, argument); else