- case TEX_RTF:
- wxStrcat(buf, (winHelp) ? _T("WinHelp RTF") : _T("linear RTF"));
- break;
- case TEX_HTML:
- wxStrcat(buf, _T("HTML"));
- break;
- case TEX_XLP:
- wxStrcat(buf, _T("XLP"));
- break;
- default:
- wxStrcat(buf, _T("unknown"));
- break;
+ case TEX_RTF:
+ if(winHelp)
+ inStr += _T("WinHelp RTF");
+ else
+ inStr += _T("linear RTF");
+ break;
+
+ case TEX_HTML:
+ inStr += _T("HTML");
+ break;
+
+ case TEX_XLP:
+ inStr += _T("XLP");
+ break;
+
+ default:
+ inStr += _T("unknown");
+ break;