Skip to content

Commit

Permalink
WebPositive: Fix incorrectly sized array
Browse files Browse the repository at this point in the history
  • Loading branch information
puckipedia committed Jan 28, 2015
1 parent 3427ae3 commit e366f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/webpositive/BrowserWindow.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit e366f3c

Please sign in to comment.