Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit 10e1378

Browse files
committed
fix whitespace consistency
1 parent 13e32bc commit 10e1378

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

appshell/cef_dark_aero_window.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ int cef_dark_aero_window::HandleNcHitTest(LPPOINT ptHit)
343343
// Setup the device context for drawing
344344
void cef_dark_aero_window::InitDeviceContext(HDC hdc)
345345
{
346-
if (CanUseAeroGlass()) {
346+
if (CanUseAeroGlass()) {
347347
RECT rectClipClient;
348348
SetRectEmpty(&rectClipClient);
349349
GetRealClientRect(&rectClipClient);
@@ -386,8 +386,8 @@ void cef_dark_aero_window::DrawMenuBar(HDC hdc)
386386
HRGN hrgnUpdate = ::CreateRectRgnIndirect(&rectMenu);
387387

388388
if (::SelectClipRgn(hdc, hrgnUpdate) != NULLREGION) {
389-
DoDrawFrame(hdc); // Draw menu bar background
390-
DoDrawMenuBar(hdc); // DraW menu items
389+
DoDrawFrame(hdc); // Draw menu bar background
390+
DoDrawMenuBar(hdc); // DraW menu items
391391
}
392392

393393
::DeleteObject(hrgnUpdate);
@@ -523,7 +523,7 @@ BOOL cef_dark_aero_window::HandleGetMinMaxInfo(LPMINMAXINFO mmi)
523523
mi.cbSize = sizeof (mi);
524524

525525
::GetMonitorInfo(hm, &mi);
526-
mmi->ptMaxSize.x = ::RectWidth(mi.rcWork) + ::kWindowFrameSize;
526+
mmi->ptMaxSize.x = ::RectWidth(mi.rcWork) + ::kWindowFrameSize;
527527
mmi->ptMaxSize.y = ::RectHeight(mi.rcWork) + ::kWindowFrameSize;
528528

529529
mmi->ptMaxPosition.x = -::kWindowFrameSize;
@@ -653,16 +653,16 @@ void cef_dark_aero_window::ComputeWindowIconRect(RECT& rect) const
653653

654654
if (IsZoomed()) {
655655
top = ::kSystemIconZoomFactorCY;
656-
left = ::kSystemIconZoomFactorCX;
656+
left = ::kSystemIconZoomFactorCX;
657657
}
658658

659659
::SetRectEmpty(&rect);
660660
rect.top = top;
661661
rect.left = left;
662662
rect.bottom = rect.top + ::GetSystemMetrics(SM_CYSMICON);
663663
rect.right = rect.left + ::GetSystemMetrics(SM_CXSMICON);
664-
665-
AdjustRectForAutoHideBars(&rect);
664+
665+
AdjustRectForAutoHideBars(&rect);
666666
} else {
667667
cef_dark_window::ComputeWindowIconRect(rect);
668668
}
@@ -687,7 +687,7 @@ void cef_dark_aero_window::ComputeWindowCaptionRect(RECT& rect) const
687687
rect.left = ir.right + ::kWindowFrameSize;
688688
rect.right = mr.left - ::kWindowFrameSize;
689689

690-
AdjustRectForAutoHideBars(&rect);
690+
AdjustRectForAutoHideBars(&rect);
691691
} else {
692692
cef_dark_window::ComputeWindowCaptionRect(rect);
693693
}

appshell/cef_dark_window.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ void cef_dark_window::ComputeWindowIconRect(RECT& rect) const
315315

316316
if (IsZoomed()) {
317317
top += ::kSystemIconZoomFactorCY;
318-
left += ::kSystemIconZoomFactorCX;
318+
left += ::kSystemIconZoomFactorCX;
319319
}
320320
::SetRectEmpty(&rect);
321321
rect.top = top;
@@ -722,7 +722,7 @@ void cef_dark_window::DoRepaintClientArea()
722722
void cef_dark_window::UpdateNonClientArea()
723723
{
724724
HDC hdc;
725-
if (CanUseAeroGlass()) {
725+
if (CanUseAeroGlass()) {
726726
hdc = GetDC();
727727
} else {
728728
hdc = GetWindowDC();

0 commit comments

Comments
 (0)