WebPositive: Fix incorrectly sized array
This commit is contained in:
parent
3427ae3942
commit
e366f3c164
@ -2502,7 +2502,7 @@ BrowserWindow::_SmartURLHandler(const BString& url)
|
||||
temp = "application/x-vnd.Be.URL.";
|
||||
temp += proto;
|
||||
|
||||
const char* argv[1] = { url.String(), NULL };
|
||||
const char* argv[] = { url.String(), NULL };
|
||||
|
||||
if (be_roster->Launch(temp.String(), 1, argv) == B_OK)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user