mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
handle large notification strings
svn path=/trunk/; revision=8741
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user