Re: Apparently it is possible to have chm file without #STRINGS in it, so we should not stop processing file at it. Fixes bug #12498
April 14, 2008
11:58 p.m.
Hi Tomasz, - info->WinType.pszToc = strdupW(info->pCHMInfo->defToc); + info->WinType.pszToc = strdupW(info->pCHMInfo->defToc ? info->pCHMInfo->defToc : null); Please don't use null, it's not portable. Also, what has this change accomplished? If strdupW succeeds when passed NULL, the existing line would already have done the same thing, so you've added a test for no benefit. --Juan
6556
Age (days ago)
6556
Last active (days ago)
0 comments
1 participants
participants (1)
-
Juan Lang