fix check of empty description
this is need because _eit_get_string_with_len function return length of string with size-byte.
This commit is contained in:
parent
c1312e160a
commit
d9128b146d
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ static int _eit_desc_ext_event
|
|||
if ( _eit_get_string_with_len(mod,
|
||||
buf, sizeof(buf),
|
||||
ptr, len,
|
||||
ev->default_charset) > 0 ) {
|
||||
ev->default_charset) > 1 ) {
|
||||
if (!ev->desc) ev->desc = lang_str_create();
|
||||
lang_str_append(ev->desc, buf, lang);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue