mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Check for an empty string not a NULL pointer.
This commit is contained in:
parent
5387b672a3
commit
13ee51e236
@ -335,10 +335,10 @@ static BOOL HH_AddNavigationPane(HHInfo *pHHInfo)
|
||||
if (!hwndTabCtrl)
|
||||
return FALSE;
|
||||
|
||||
if (pHHInfo->pHHWinType->pszToc)
|
||||
if (*pHHInfo->pHHWinType->pszToc)
|
||||
NP_CreateTab(pHHInfo->hInstance, hwndTabCtrl, IDS_CONTENTS, dwIndex++);
|
||||
|
||||
if (pHHInfo->pHHWinType->pszIndex)
|
||||
if (*pHHInfo->pHHWinType->pszIndex)
|
||||
NP_CreateTab(pHHInfo->hInstance, hwndTabCtrl, IDS_INDEX, dwIndex++);
|
||||
|
||||
if (pHHInfo->pHHWinType->fsWinProperties & HHWIN_PROP_TAB_SEARCH)
|
||||
|
Loading…
Reference in New Issue
Block a user