Changeset 2290:e6250c42d0b9 for charset.c
Legend:
- Unmodified
- Added
- Removed
-
charset.c
r2289 r2290 25 25 #include <stdlib.h> 26 26 27 #include <ctype.h> 28 27 29 #include <sys/types.h> 28 30 #include <dirent.h> … … 239 241 /* for cosmetics' sake, transform to lowercase. */ 240 242 for (p = dest; *p; p++) 241 if ( 'A' <= *p && *p <= 'Z')242 *p += 'a' - 'A';243 if (isupper (*p)) 244 *p = tolower (*p); 243 245 } 244 246 … … 521 523 if (fc->cd != (iconv_t)-1) 522 524 iconv_close (fc->cd); 523 safe_free ( _fc);524 } 525 safe_free ((void **) _fc); 526 }
