Efreet uri: Fixed efreet_uri_encode.

it doesn't work well if the value passed is negative (utf8 text for example).

SVN revision: 58328
This commit is contained in:
Tom Hacohen 2011-04-04 13:42:55 +00:00
parent d6588113af
commit 4eaf1b7ba0
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ efreet_uri_encode(Efreet_Uri *uri)
dest[i] = *p;
else
{
snprintf(&(dest[i]), 4, "%%%02X", *p);
snprintf(&(dest[i]), 4, "%%%02X", (unsigned char) *p);
i += 2;
}
}