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.13 by maloninc, Sat Aug 13 06:12:05 2005 UTC revision 1.14 by maloninc, Tue Aug 16 22:16:43 2005 UTC
# Line 94  WikiList* mnModel::search(const char* se Line 94  WikiList* mnModel::search(const char* se
94                          decodeFileName = decode(fileName->mb_str());                          decodeFileName = decode(fileName->mb_str());
95                          snprintf(decodeFileNameBuf, MAX_BUF_SIZE, "%s", decodeFileName);                          snprintf(decodeFileNameBuf, MAX_BUF_SIZE, "%s", decodeFileName);
96                          toLower(buf);                          toLower(buf);
                         toLower(outbuf);  
97                          toLower(decodeFileNameBuf);                          toLower(decodeFileNameBuf);
98                          found = TRUE;                          found = TRUE;
99                          for(i = 0; tokenList[i] != NULL; i++){                          for(i = 0; tokenList[i] != NULL; i++){
100                                    toLower(tokenList[i]);
101                                  if(strstr((const char*)buf, (const char*)tokenList[i]) ||                                  if(strstr((const char*)buf, (const char*)tokenList[i]) ||
102                                          strstr((const char*)decodeFileName, (const char*)tokenList[i])) {                                          strstr((const char*)decodeFileName, (const char*)tokenList[i])) {
103                                          found = TRUE;                                          found = TRUE;

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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