Another minor correction to DVB string processing.

This commit is contained in:
Adam Sutton 2012-07-11 20:13:54 +01:00
parent f3fa5d2a86
commit 6a2959ecda

View file

@ -216,7 +216,7 @@ dvb_get_string(char *dst, size_t dstlen, const uint8_t *src, size_t srclen, char
/* Check custom conversion */
while (conv && conv->func) {
if (conv->type == src[0])
return conv->func(dst, &dstlen, src+1, srclen-1);
return conv->func(dst, &dstlen, src, srclen);
conv++;
}