Changeset 4976:f4d3704813fd for charset.c
Legend:
- Unmodified
- Added
- Removed
-
charset.c
r4970 r4976 246 246 char scratch[LONG_STRING]; 247 247 248 if (!ascii_strcasecmp (name, "utf-8")) { 249 strfcpy (dest, name, dlen); 250 goto found_utf8; 248 if (!ascii_strcasecmp (name, "utf-8")) 249 { 250 strfcpy (dest, "utf-8", dlen); 251 return; 251 252 } 252 253 … … 273 274 strfcpy (dest, scratch, dlen); 274 275 275 found_utf8:276 276 /* for cosmetics' sake, transform to lowercase. */ 277 277 for (p = dest; *p; p++)
