]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
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 b1603ecc2a554bbb025d4d4ecdff43ee0a2efe0b..e92d1ba1a146375c3e48ea05efb287582ace8213 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