[BACK]Return to look.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / spell

Diff for /src/usr.bin/spell/look.c between version 1.4 and 1.5

version 1.4, 2009/10/27 23:59:43 version 1.5, 2016/09/07 19:47:52
Line 52 
Line 52 
         /* Convert string to lower case before searching. */          /* Convert string to lower case before searching. */
         for (s = string; *s; s++) {          for (s = string; *s; s++) {
                 if (isupper(*s))                  if (isupper(*s))
                         *s = _tolower(*s);                          *s = tolower(*s);
         }          }
   
         front = binary_search(string, front, back);          front = binary_search(string, front, back);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5