Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnModel.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.20 by maloninc, Tue Sep 13 11:17:03 2005 UTC revision 1.21 by maloninc, Tue Sep 13 23:07:41 2005 UTC
# Line 171  void mnModel::group() Line 171  void mnModel::group()
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;
# Line 235  bool mnModel::typeSearch(char* typeStr, Line 234  bool mnModel::typeSearch(char* typeStr,
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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26