diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1998-11-04 18:13:38 +0000 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-11-04 18:13:38 +0000 |
commit | 442321cef216da79c1fcaff8238542ed87984d7e (patch) | |
tree | 0151b9baee293b545124131b78a63066b9d2c374 /entities.c | |
parent | 0ba4d5377c6c5bb904b73586a1468da58b31a911 (diff) | |
download | libxml2-442321cef216da79c1fcaff8238542ed87984d7e.tar.gz |
Use g_snprintf insteda of snprintf.
1998-11-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
* entities.c: Use g_snprintf insteda of snprintf.
Diffstat (limited to 'entities.c')
-rw-r--r-- | entities.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -312,7 +312,7 @@ CHAR *xmlEncodeEntities(xmlDocPtr doc, const CHAR *input) { #ifndef USE_UTF_8 } else if ((sizeof(CHAR) == 1) && (*cur >= 0x80)) { char buf[10], *ptr; - snprintf(buf, 9, "&#%d;", *cur); + g_snprintf(buf, 9, "&#%d;", *cur); ptr = buf; while (*ptr != 0) *out++ = *ptr++; #endif |