Add missing for OpenURI on 64bit Linux
This commit is contained in:
parent
91064f4935
commit
64063fbc0f
@ -664,9 +664,9 @@ void OpenURI(std::string uri) {
|
||||
strappend(cmd, (char*)uri.c_str());
|
||||
system(cmd);
|
||||
#elif LIN64
|
||||
char *cmd = malloc(11+uri.length());
|
||||
char *cmd = (char*)malloc(11+uri.length());
|
||||
strcpy(cmd, "xdg-open ");
|
||||
strappend(cmd, uri.c_str());
|
||||
strappend(cmd, (char*)uri.c_str());
|
||||
system(cmd);
|
||||
#else
|
||||
printf("Cannot open browser\n");
|
||||
|
Reference in New Issue
Block a user