Word.cpp (pymol-v2.1.0.tar.bz2) | : | Word.cpp (pymol-open-source-2.2.0) | ||
---|---|---|---|---|
skipping to change at line 429 | skipping to change at line 429 | |||
while((*p) && (*q)) { | while((*p) && (*q)) { | |||
if(*p != *q) { | if(*p != *q) { | |||
if(!ignore_case) | if(!ignore_case) | |||
return false; | return false; | |||
else if(tolower(*p) != tolower(*q)) | else if(tolower(*p) != tolower(*q)) | |||
return false; | return false; | |||
} | } | |||
p++; | p++; | |||
q++; | q++; | |||
} | } | |||
if((!(*q)) && (!(*p))) | ||||
return true; | ||||
if((*p) && (!*q) && cur_node->continued) | if(!*q) { | |||
return recursive_match(I, cur_node + 1, p, value_ptr); | if(cur_node->continued) | |||
if((*p) != (*q)) | return recursive_match(I, cur_node + 1, p, value_ptr); | |||
return false; | if(!*p) | |||
return true; | ||||
} | ||||
} | } | |||
break; | break; | |||
case cMatchWildcard: | case cMatchWildcard: | |||
{ | { | |||
const char *p; | const char *p; | |||
p = text; | p = text; | |||
if(!cur_node->continued) | if(!cur_node->continued) | |||
return true; | return true; | |||
else { | else { | |||
while(*p) { | while(*p) { | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added |