Mercurial > pidgin.yaz
changeset 27961:ffeb36ec8078
pidgin should handle 2byte hexadecimal numeric character reference.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 04 Jul 2009 23:40:15 +0000 |
parents | f058edca3d66 |
children | 3663c7e208ef |
files | libpurple/util.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/util.c Sat Jul 04 23:14:35 2009 +0000 +++ b/libpurple/util.c Sat Jul 04 23:40:15 2009 +0000 @@ -972,6 +972,7 @@ pln = "\'"; else if(*(text+1) == '#' && (sscanf(text, "&#%u%1[;]", £, temp) == 2 || + sscanf(text, "&#x%x%x%1[;]", £, temp) == 3 || sscanf(text, "&#x%x%1[;]", £, temp) == 2) && pound != 0) { static char buf[7];