Merge remote-tracking branch 'origin/pr/196'
This commit is contained in:
commit
5d72981143
1 changed files with 2 additions and 2 deletions
|
@ -1078,8 +1078,8 @@ size_t epg_episode_number_format
|
|||
if ( cfmt && num.e_cnt )
|
||||
i+= snprintf(&buf[i], len-i, cfmt, num.e_cnt);
|
||||
} else if ( num.text ) {
|
||||
strncpy(buf, num.text, len);
|
||||
i = strlen(buf);
|
||||
if (pre) i += snprintf(&buf[i], len-i, "%s", pre);
|
||||
i += snprintf(&buf[i], len-i, "%s", num.text);
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue