Bug 9863. That's a patch I forgot in the last one. Again just BeOS stuff.
git-svn-id: svn://10.0.0.236/trunk@84943 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -103,11 +103,16 @@ nsNativeBrowserWindow::DispatchMenuItem(PRInt32 aID)
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int result = B_OK;
|
||||
nsViewerApp* app = new nsNativeViewerApp();
|
||||
NS_ADDREF(app);
|
||||
app->Initialize(argc, argv);
|
||||
app->Run();
|
||||
NS_RELEASE(app);
|
||||
|
||||
return 0;
|
||||
if(app)
|
||||
{
|
||||
NS_ADDREF(app);
|
||||
app->Initialize(argc, argv);
|
||||
app->Run();
|
||||
NS_RELEASE(app);
|
||||
}
|
||||
else
|
||||
result = B_NO_MEMORY;
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user