Hi Jaroslav,
- if (!*caption) caption = info->pCHMInfo->defTitle; + if (!caption) caption = info->pCHMInfo->defTitle;
I suspect a better fix would be: + if (!caption || !*caption) caption = info->pCHMInfo->defTitle;
That is, either a NULL caption or an empty one results in info->pCHMInfo->defTitle getting used. --Juan