comctl32: Fix broken detection of non-empty string.
This commit is contained in:
parent
77c376e0f8
commit
35ff6d6750
|
@ -6332,7 +6332,7 @@ static LRESULT TOOLBAR_TTGetDispInfo (TOOLBAR_INFO *infoPtr, NMTTDISPINFOW *lpnm
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
else if (len > 0)
|
||||
else if (tbgit.pszText[0])
|
||||
{
|
||||
MultiByteToWideChar(CP_ACP, 0, tbgit.pszText, -1,
|
||||
lpnmtdi->lpszText, sizeof(lpnmtdi->szText)/sizeof(lpnmtdi->szText[0]));
|
||||
|
|
Loading…
Reference in New Issue