mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[SHELL32]: Tray ToolTips: use the correct buffer size for when calling MultiByteToWideChar. Addendum to r70360. CORE-10497
svn path=/trunk/; revision=70399
This commit is contained in:
parent
13fbf3250a
commit
f58cb5b81c
1 changed files with 2 additions and 2 deletions
|
@ -98,8 +98,8 @@ BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA pnid)
|
||||||
/* szInfo, szInfoTitle */
|
/* szInfo, szInfoTitle */
|
||||||
if (pnid->uFlags & NIF_INFO)
|
if (pnid->uFlags & NIF_INFO)
|
||||||
{
|
{
|
||||||
MultiByteToWideChar(CP_ACP, 0, pnid->szInfo, -1, nidW.szInfo, _countof(nidW.szTip));
|
MultiByteToWideChar(CP_ACP, 0, pnid->szInfo, -1, nidW.szInfo, _countof(nidW.szInfo));
|
||||||
MultiByteToWideChar(CP_ACP, 0, pnid->szInfoTitle, -1, nidW.szInfoTitle, _countof(nidW.szTip));
|
MultiByteToWideChar(CP_ACP, 0, pnid->szInfoTitle, -1, nidW.szInfoTitle, _countof(nidW.szInfoTitle));
|
||||||
}
|
}
|
||||||
|
|
||||||
nidW.uTimeout = pnid->uTimeout;
|
nidW.uTimeout = pnid->uTimeout;
|
||||||
|
|
Loading…
Reference in a new issue