Skip to content

Commit 1022655

Browse files
committed
style: normalize whitespace and operator spacing across codebase
1 parent d505db4 commit 1022655

3 files changed

Lines changed: 55 additions & 105 deletions

File tree

CPPLINT.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Disable whitespace checks
2-
filter=-whitespace/braces,-whitespace/blank_line,-whitespace/operators,-whitespace/comments,-whitespace/indent
2+
filter=-whitespace/braces,-whitespace/blank_line,-whitespace/comments,-whitespace/indent
33

44
# Disable readability checks
55
filter=-readability/casting,-readability/braces

ColorCop.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ BOOL CColorCopApp::InitInstance()
7474

7575
int nResponse = dlg.DoModal(); // Launch the color cop dialog
7676

77-
if ((nResponse == IDOK)||(nResponse == IDCANCEL)) {
77+
if ((nResponse == IDOK) || (nResponse == IDCANCEL)) {
7878

7979
CloseApplication(); // write the data to a file
8080
}
@@ -143,8 +143,8 @@ void CColorCopApp::ClipOrCenterWindowToMonitor(HWND hwnd, UINT flags)
143143
RECT rc;
144144
GetWindowRect(hwnd, &rc);
145145
SetWindowPos(hwnd, NULL, rc.left, rc.top, 0, 0, SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE);
146-
dlg.WinLocX= rc.left;
147-
dlg.WinLocY= rc.top;
146+
dlg.WinLocX = rc.left;
147+
dlg.WinLocY = rc.top;
148148
}
149149

150150
BOOL CColorCopApp::InitApplication()
@@ -251,7 +251,7 @@ void CColorCopApp::Serialize(CArchive& ar)
251251
for (int w = 0; w < kHistoryCount; w++) // save color history values
252252
ar << dlg.ColorHistory[w];
253253

254-
ar << dlg.m_iSamplingOffset;
254+
ar << dlg.m_iSamplingOffset;
255255

256256
} catch (CArchiveException*) {
257257
AfxMessageBox(IDS_ERROR_SAVING);

0 commit comments

Comments
 (0)