mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +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()) {
|
||||
NotifyInfo& entry = const_cast<NotifyInfo&>(*found); // Why does GCC 3.3 need this additional const_cast ?!
|
||||
|
||||
if (!entry._tipText.empty())
|
||||
_tcscpy(pdi->szText, entry._tipText);
|
||||
pdi->lpszText = (LPTSTR)entry._tipText.c_str();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue