| 1324 |
|
|
| 1325 |
// Title report sequence |
// Title report sequence |
| 1326 |
GetPrivateProfileString(Section, "TitleReportSequence", "Empty", Temp, sizeof(Temp), FName); |
GetPrivateProfileString(Section, "TitleReportSequence", "Empty", Temp, sizeof(Temp), FName); |
| 1327 |
if (_stricmp(Temp, "on") == 0) |
if (_stricmp(Temp, "accept") == 0) |
| 1328 |
ts->WindowFlag |= IdTitleReportOn; |
ts->WindowFlag |= IdTitleReportAccept; |
| 1329 |
else if (_stricmp(Temp, "off") == 0) |
else if (_stricmp(Temp, "ignore") == 0 || _stricmp(Temp, "off") == 0) |
| 1330 |
ts->WindowFlag &= ~WF_TITLEREPORT; |
ts->WindowFlag &= ~WF_TITLEREPORT; |
| 1331 |
else // empty |
else // empty |
| 1332 |
ts->WindowFlag |= IdTitleReportEmpty; |
ts->WindowFlag |= IdTitleReportEmpty; |
| 2319 |
|
|
| 2320 |
// Title report sequence |
// Title report sequence |
| 2321 |
switch (ts->WindowFlag & WF_TITLEREPORT) { |
switch (ts->WindowFlag & WF_TITLEREPORT) { |
| 2322 |
case IdTitleReportOff: |
case IdTitleReportIgnore: |
| 2323 |
WritePrivateProfileString(Section, "TitleReportSequence", "off", FName); |
WritePrivateProfileString(Section, "TitleReportSequence", "ignore", FName); |
| 2324 |
break; |
break; |
| 2325 |
case IdTitleReportOn: |
case IdTitleReportAccept: |
| 2326 |
WritePrivateProfileString(Section, "TitleReportSequence", "on", FName); |
WritePrivateProfileString(Section, "TitleReportSequence", "accept", FName); |
| 2327 |
break; |
break; |
| 2328 |
default: // IdTitleReportEmpty |
default: // IdTitleReportEmpty |
| 2329 |
WritePrivateProfileString(Section, "TitleReportSequence", "empty", FName); |
WritePrivateProfileString(Section, "TitleReportSequence", "empty", FName); |