Show
Ignore:
Timestamp:
2007-03-13 02:58:34 (21 months ago)
Author:
Thomas Roessler <roessler@…>
Branch:
default
Message:

Clean up the strcat cleanup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • charset.c

    r4970 r4976  
    246246  char scratch[LONG_STRING]; 
    247247 
    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; 
    251252  } 
    252253 
     
    273274  strfcpy (dest, scratch, dlen); 
    274275 
    275 found_utf8: 
    276276  /* for cosmetics' sake, transform to lowercase. */ 
    277277  for (p = dest; *p; p++)