diff options
| author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-12-17 16:57:34 +0000 |
|---|---|---|
| committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-12-17 16:57:34 +0000 |
| commit | b41af27637477297a1b575904a596d1dfa8a7531 (patch) | |
| tree | ef9aadf749392be2c22ed1316ebbe307eaa620a2 /src/xine-utils | |
| parent | b6df7d39efa2fffefe0685d271e28038c484512a (diff) | |
| parent | a7e8065a32e0151ef995d696881d4d2ecf27fd33 (diff) | |
| download | xine-lib-b41af27637477297a1b575904a596d1dfa8a7531.tar.gz xine-lib-b41af27637477297a1b575904a596d1dfa8a7531.tar.bz2 | |
Merge from 1.1.
Diffstat (limited to 'src/xine-utils')
| -rw-r--r-- | src/xine-utils/xmllexer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-utils/xmllexer.c b/src/xine-utils/xmllexer.c index 3f0383c48..bb03e5a79 100644 --- a/src/xine-utils/xmllexer.c +++ b/src/xine-utils/xmllexer.c @@ -109,7 +109,7 @@ void lexer_init(const char * buf, int size) { lex_convert (buf + 4, size - 4, UTF32BE); else if (size >= 4 && !memcmp (buf, boms, 4)) lex_convert (buf + 4, size - 4, UTF32LE); - else if (size >= 3 && !memcmp (buf, bom_utf8, 4)) + else if (size >= 3 && !memcmp (buf, bom_utf8, 3)) { lexbuf += 3; lexbuf_size -= 3; |
