- if (strstr(linebuf, "title=") == linebuf)
- title = linebuf + strlen("title=");
- if (strstr(linebuf, "default topic=") == linebuf)
- start = linebuf + strlen("default topic=");
- if (strstr(linebuf, "index file=") == linebuf)
- index = linebuf + strlen("index file=");
- if (strstr(linebuf, "contents file=") == linebuf)
- contents = linebuf + strlen("contents file=");
- if (strstr(linebuf, "charset=") == linebuf)
- charset = linebuf + strlen("charset=");
+ if (wxStrstr(linebuf, _T("title=")) == linebuf)
+ title = linebuf + wxStrlen(_T("title="));
+ if (wxStrstr(linebuf, _T("default topic=")) == linebuf)
+ start = linebuf + wxStrlen(_T("default topic="));
+ if (wxStrstr(linebuf, _T("index file=")) == linebuf)
+ index = linebuf + wxStrlen(_T("index file="));
+ if (wxStrstr(linebuf, _T("contents file=")) == linebuf)
+ contents = linebuf + wxStrlen(_T("contents file="));
+ if (wxStrstr(linebuf, _T("charset=")) == linebuf)
+ charset = linebuf + wxStrlen(_T("charset="));