[3351]
    コード簡略化計画2
    dskoba
    
    CShareData_new.cpp
CShareData::ShareData_IO_2() の MRU 読み書き部
char szKeyNameTop[64];
for(省略){
  wsprintf( szKeyNameTop, "MRU[%02d].", i );
  strcpy( szKeyName, szKeyNameTop );
  strcat( szKeyName, "nViewTopLine" );
  cProfile.IOProfileData(省略);
  strcpy( szKeyName, szKeyNameTop );
  strcat( szKeyName, "nViewLeftCol" );
  cProfile.IOProfileData(省略);
  ...
}
↓
for(省略){
  wsprintf( szKeyName, "MRU[%02d].nViewTopLine", i );
  cProfile.IOProfileData(省略);
  wsprintf( szKeyName, "MRU[%02d].nViewLeftCol", i );
  cProfile.IOProfileData(省略);
  ...
}