Cocoa Port: Do some minor code cleanup.
This commit is contained in:
parent
84e5228274
commit
1e9aa08f54
|
@ -784,7 +784,7 @@ void ClientDisplayPresenter::SetHUDColorInputPendingOnly(uint32_t color32)
|
||||||
|
|
||||||
uint32_t ClientDisplayPresenter::GetInputColorUsingStates(bool pendingState, bool appliedState)
|
uint32_t ClientDisplayPresenter::GetInputColorUsingStates(bool pendingState, bool appliedState)
|
||||||
{
|
{
|
||||||
uint32_t color = this->_hudColorInputAppliedAndPending;
|
uint32_t color = LE_TO_LOCAL_32(0x80808080);
|
||||||
|
|
||||||
if (pendingState && appliedState)
|
if (pendingState && appliedState)
|
||||||
{
|
{
|
||||||
|
@ -798,10 +798,6 @@ uint32_t ClientDisplayPresenter::GetInputColorUsingStates(bool pendingState, boo
|
||||||
{
|
{
|
||||||
color = this->_hudColorInputPendingOnly;
|
color = this->_hudColorInputPendingOnly;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
color = LE_TO_LOCAL_32(0x80808080);
|
|
||||||
}
|
|
||||||
|
|
||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|
|
@ -214,6 +214,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[numberFormatter release];
|
||||||
return ip4Address_u32;
|
return ip4Address_u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue