one argument, one argument 70/head
authorThomas Debesse <dev@illwieckz.net>
Sun, 30 Jul 2017 16:36:49 +0000 (18:36 +0200)
committerThomas Debesse <dev@illwieckz.net>
Tue, 1 Aug 2017 14:05:20 +0000 (16:05 +0200)
radiant/url.cpp

index b1603ec..e92d1ba 100644 (file)
@@ -38,7 +38,7 @@ bool open_url( const char* url ){
 bool open_url( const char* url ){
        char command[2 * PATH_MAX];
        snprintf( command, sizeof( command ),
-                         "xdg-open \"%s\" &", url, url );
+                         "xdg-open \"%s\" &", url );
        return system( command ) == 0;
 }
 #endif