Browse CVS Repository
Diff of /malonnote/mnModel.cpp
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 64 |
|
|
| 65 |
/* searchStr to Tokens */ |
/* searchStr to Tokens */ |
| 66 |
token = strtok(outbuf, " "); |
token = strtok(outbuf, " "); |
| 67 |
|
if(token == NULL) return list; |
| 68 |
tokenList[0] = (char*)malloc(strlen(token)+1); |
tokenList[0] = (char*)malloc(strlen(token)+1); |
| 69 |
snprintf(tokenList[0], strlen(token)+1, "%s", token); |
snprintf(tokenList[0], strlen(token)+1, "%s", token); |
| 70 |
i = 1; |
i = 1; |
| 133 |
|
|
| 134 |
if(searchStrList->Index(searchStr->c_str()) == wxNOT_FOUND){ |
if(searchStrList->Index(searchStr->c_str()) == wxNOT_FOUND){ |
| 135 |
string = new wxString(searchStr->c_str()); |
string = new wxString(searchStr->c_str()); |
| 136 |
searchStrList->Add(*string, 1); |
//searchStrList->Add(*string, 1); |
| 137 |
|
searchStrList->Insert(*string, 0); |
| 138 |
} |
} |
| 139 |
} |
} |
| 140 |
|
|
|
|
Legend:
| Removed from v.1.15 |
|
| changed lines |
| |
Added in v.1.17 |
|
|
| |