[vlc-devel] commit: Oops. (Antoine Cellerier )
git version control
git at videolan.org
Tue Sep 23 16:02:25 CEST 2008
vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Tue Sep 23 16:05:48 2008 +0200| [b149f96f6466e1b94c773db3472121dfdfafbbb3] | committer: Antoine Cellerier
Oops.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b149f96f6466e1b94c773db3472121dfdfafbbb3
---
src/text/strings.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/text/strings.c b/src/text/strings.c
index ff43403..fac0250 100644
--- a/src/text/strings.c
+++ b/src/text/strings.c
@@ -381,13 +381,13 @@ void resolve_xml_special_chars( char *psz_value )
if( !strncmp( psz_value1, src, len ) ) \
{ \
*p_pos = dst; \
- psz_value += len; \
+ psz_value += len + 1; \
}
- TRY_CHAR( "lt;", 4, '<' )
- else TRY_CHAR( "amp;", 5, '&' )
- else TRY_CHAR( "apos;", 6, '\'' )
- else TRY_CHAR( "gt;", 4, '>' )
- else TRY_CHAR( "quot;", 6, '"' )
+ TRY_CHAR( "lt;", 3, '<' )
+ else TRY_CHAR( "amp;", 4, '&' )
+ else TRY_CHAR( "apos;", 5, '\'' )
+ else TRY_CHAR( "gt;", 3, '>' )
+ else TRY_CHAR( "quot;", 5, '"' )
#undef TRY_CHAR
else if( *psz_value1 == '#' )
{
More information about the vlc-devel
mailing list