зеркало из https://github.com/mozilla/gecko-dev.git
Check in patch from bug 287083 (patch by <torben@despammed.com>).
This commit is contained in:
Родитель
bd5a83286e
Коммит
c8cf2e47b4
|
@ -98,6 +98,10 @@
|
|||
|
||||
returnColor = [NSColor colorWithCalibratedRed:redFloat green:greenFloat blue:blueFloat alpha:1.0f];
|
||||
}
|
||||
else
|
||||
{
|
||||
*outSuccess = NO;
|
||||
}
|
||||
|
||||
return returnColor;
|
||||
}
|
||||
|
|
|
@ -601,6 +601,10 @@ static void SCProxiesChangedCallback(SCDynamicStoreRef store, CFArrayRef changed
|
|||
|
||||
returnColor = [NSColor colorWithCalibratedRed:redFloat green:greenFloat blue:blueFloat alpha:1.0f];
|
||||
}
|
||||
else
|
||||
{
|
||||
*outSuccess = NO;
|
||||
}
|
||||
|
||||
return returnColor;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче