Browse CVS Repository
Diff of /malonnote/mnModel.cpp
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 171 |
iconv(codeSet, (ICONV_CONST char**)&inbufPtr, (size_t*)&inbufSize, &outbufPtr, (size_t*)&outbufSize); |
iconv(codeSet, (ICONV_CONST char**)&inbufPtr, (size_t*)&inbufSize, &outbufPtr, (size_t*)&outbufSize); |
| 172 |
|
|
| 173 |
typeToken = new wxString(outbuf, conv); |
typeToken = new wxString(outbuf, conv); |
|
//wxLogMessage(wxT("[%s]"), typeToken->c_str()); |
|
| 174 |
addSearchStr(typeToken); |
addSearchStr(typeToken); |
| 175 |
delete typeToken; |
delete typeToken; |
| 176 |
ptr = NULL; |
ptr = NULL; |
| 234 |
if(strstr((const char*)buf, TYPE_TAG)){ /* search TYPE line */ |
if(strstr((const char*)buf, TYPE_TAG)){ /* search TYPE line */ |
| 235 |
typeToken = strtok(typeStrCopy, ":"); |
typeToken = strtok(typeStrCopy, ":"); |
| 236 |
typeToken = strtok(NULL, ":"); /* second field separated by colon(:) */ |
typeToken = strtok(NULL, ":"); /* second field separated by colon(:) */ |
| 237 |
|
if(typeToken == NULL) return false; |
| 238 |
toLower(typeToken); |
toLower(typeToken); |
| 239 |
toLower(buf); |
toLower(buf); |
| 240 |
if(strstr(buf, typeToken)) return true; |
if(strstr(buf, typeToken)) return true; |
|
|
Legend:
| Removed from v.1.20 |
|
| changed lines |
| |
Added in v.1.21 |
|
|
| |