зеркало из https://github.com/mozilla/pjs.git
fixed crash due to missing {} after if() statement
This commit is contained in:
Родитель
7ede838ed2
Коммит
1ddc449899
|
@ -736,8 +736,10 @@ nsRefData *theRefData;
|
|||
#if 1
|
||||
whichwindow = FrontWindow();
|
||||
if (whichwindow)
|
||||
theRefData = (nsRefData*)GetWRefCon (whichwindow);
|
||||
raptorWindow = (nsWindow*)theRefData->GetTopWidget();
|
||||
{
|
||||
theRefData = (nsRefData*)GetWRefCon (whichwindow);
|
||||
raptorWindow = (nsWindow*)theRefData->GetTopWidget();
|
||||
}
|
||||
#else
|
||||
// XXX For some reason this returns null... which is bad...
|
||||
raptorWindow = mToolkit->GetFocus();
|
||||
|
|
Загрузка…
Ссылка в новой задаче