[project @ 2005-07-18 14:22:26 by jmb]

Fix erroneous attempt to uppercase address of character instead of the character itself

svn path=/import/netsurf/; revision=1802
This commit is contained in:
John Mark Bell 2005-07-18 14:22:26 +00:00
parent c5e120e43d
commit b37420136c
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ char *form_acceptable_charset(struct form *form)
/* make it upper case */
for (c = temp; *c; c++)
*c = toupper(c);
*c = toupper(*c);
/* is UTF-8 specified? */
c = strstr(temp, "UTF-8");