From 0caf07a701624dcc0fe1dc23bfb6454a155f8fab Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 21 Dec 1999 16:25:49 +0000 Subject: [PATCH] Fixed = vs. == bug in parser.c (hrmless though) and type in sgml, Daniel. --- ChangeLog | 5 +++++ doc/gnome-xml.sgml | 2 +- parser.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c983233c..58680f90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 21 17:22:17 CET 1999 Daniel Veillard + + * parser.c: fixed a stupid = vs. == bug :-( + * doc/gnome-xml.sgml: s/glade/xml/ + Tue Dec 21 14:29:34 CET 1999 Daniel Veillard * configure.in, doc/xml.html : bug fix release 1.8.2 diff --git a/doc/gnome-xml.sgml b/doc/gnome-xml.sgml index 018ce710..1053c85f 100644 --- a/doc/gnome-xml.sgml +++ b/doc/gnome-xml.sgml @@ -52,7 +52,7 @@ - This manual documents the interfaces of the libglade + This manual documents the interfaces of the libxml library and has some short notes to help get you up to speed with using the library. diff --git a/parser.c b/parser.c index e9a95f4d..09f987c4 100644 --- a/parser.c +++ b/parser.c @@ -855,7 +855,7 @@ xmlParseStringCharRef(xmlParserCtxtPtr ctxt, const xmlChar **str) { if ((str == NULL) || (*str == NULL)) return(0); ptr = *str; cur = *ptr; - if ((cur = '&') && (ptr[1] == '#') && (ptr[2] == 'x')) { + if ((cur == '&') && (ptr[1] == '#') && (ptr[2] == 'x')) { ptr += 3; cur = *ptr; while (cur != ';') {