mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
handle large notification strings
svn path=/trunk/; revision=8741
This commit is contained in:
parent
14f61e5720
commit
296ea7d293
1 changed files with 1 additions and 2 deletions
|
@ -287,8 +287,7 @@ int NotifyArea::Notify(int id, NMHDR* pnmh)
|
||||||
if (found != _sorted_icons.end()) {
|
if (found != _sorted_icons.end()) {
|
||||||
NotifyInfo& entry = const_cast<NotifyInfo&>(*found); // Why does GCC 3.3 need this additional const_cast ?!
|
NotifyInfo& entry = const_cast<NotifyInfo&>(*found); // Why does GCC 3.3 need this additional const_cast ?!
|
||||||
|
|
||||||
if (!entry._tipText.empty())
|
pdi->lpszText = (LPTSTR)entry._tipText.c_str();
|
||||||
_tcscpy(pdi->szText, entry._tipText);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue