projects
/
framework
/
uifw
/
efreet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f6428f
)
Efreet uri: Fixed efreet_uri_encode.
author
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 4 Apr 2011 13:42:55 +0000
(13:42 +0000)
committer
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 4 Apr 2011 13:42:55 +0000
(13:42 +0000)
it doesn't work well if the value passed is negative (utf8 text for example).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@58328
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/efreet_uri.c
patch
|
blob
|
history
diff --git
a/src/lib/efreet_uri.c
b/src/lib/efreet_uri.c
index
20f0cfa
..
aafdf8b
100644
(file)
--- a/
src/lib/efreet_uri.c
+++ b/
src/lib/efreet_uri.c
@@
-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;
}
}