We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 34f0b52 + 6be67e4 commit c54588aCopy full SHA for c54588a
1 file changed
ColorCop.cpp
@@ -246,12 +246,15 @@ void CColorCopApp::Serialize(CArchive& ar) {
246
ar >> dlg.m_Appflags;
247
ar >> dlg.WinLocX;
248
ar >> dlg.WinLocY;
249
- for (int j = 0; j < kCustomColorCount; j++) //load custom color values to array
+ // load custom color values to array
250
+ for (int j = 0; j < kCustomColorCount; j++) {
251
ar >> dlg.CustColorBank[j];
- for (int w = 0; w < kHistoryCount; w++) // save color history values
252
+ }
253
+ // load color history values to array
254
+ for (int w = 0; w < kHistoryCount; w++) {
255
ar >> dlg.ColorHistory[w];
-
- ar >> dlg.m_iSamplingOffset;
256
257
+ ar >> dlg.m_iSamplingOffset;
258
} catch (CArchiveException*) {
259
AfxMessageBox(IDS_ERROR_LOADING);
260
}
0 commit comments