* This should fix the GCC4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33826 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b43e064ecc
commit
c5a9a2ea13
@ -572,7 +572,7 @@ DefaultDecorator::_SnapWindowFromSettings(const char* label,
|
|||||||
if (window == fWindow)
|
if (window == fWindow)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
char* debugSuffix = "... NOT!";
|
const char* debugSuffix = "... NOT!";
|
||||||
|
|
||||||
if (window != NULL) {
|
if (window != NULL) {
|
||||||
// There can be cases where the other window to which this
|
// There can be cases where the other window to which this
|
||||||
@ -1625,7 +1625,7 @@ void
|
|||||||
DefaultDecorator::HighlightBorders(bool active, BRegion* dirty)
|
DefaultDecorator::HighlightBorders(bool active, BRegion* dirty)
|
||||||
{
|
{
|
||||||
if (active) {
|
if (active) {
|
||||||
fFrameColors = fHighlightFrameColors;
|
memcpy(fFrameColors, fHighlightFrameColors, sizeof(fFrameColors));
|
||||||
} else if (IsFocus()) {
|
} else if (IsFocus()) {
|
||||||
fFrameColors[0] = fNonHighlightFrameColors[0];
|
fFrameColors[0] = fNonHighlightFrameColors[0];
|
||||||
fFrameColors[1] = fNonHighlightFrameColors[1];
|
fFrameColors[1] = fNonHighlightFrameColors[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user