mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 06:38:36 +00:00
Remove Windows line endings. No bug. a=josh
This commit is contained in:
parent
3426024d9c
commit
1947ab90af
@ -3706,16 +3706,16 @@ CheckForDisabledWindows()
|
||||
if (widget && !widget->GetParent() &&
|
||||
NS_SUCCEEDED(widget->IsVisible(aFlag)) && aFlag == PR_TRUE &&
|
||||
NS_SUCCEEDED(widget->IsEnabled(&aFlag)) && aFlag == PR_FALSE) {
|
||||
nsIWidget * child = widget->GetFirstChild();
|
||||
PRBool enable = PR_TRUE;
|
||||
while (child) {
|
||||
nsWindowType aType;
|
||||
if (NS_SUCCEEDED(child->GetWindowType(aType)) &&
|
||||
aType == eWindowType_dialog) {
|
||||
enable = PR_FALSE;
|
||||
break;
|
||||
}
|
||||
child = child->GetNextSibling();
|
||||
nsIWidget * child = widget->GetFirstChild();
|
||||
PRBool enable = PR_TRUE;
|
||||
while (child) {
|
||||
nsWindowType aType;
|
||||
if (NS_SUCCEEDED(child->GetWindowType(aType)) &&
|
||||
aType == eWindowType_dialog) {
|
||||
enable = PR_FALSE;
|
||||
break;
|
||||
}
|
||||
child = child->GetNextSibling();
|
||||
}
|
||||
if (enable) {
|
||||
widget->Enable(PR_TRUE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user