handle large notification strings

svn path=/trunk/; revision=8741
This commit is contained in:
Martin Fuchs 2004-03-14 22:44:08 +00:00
parent 14f61e5720
commit 296ea7d293

View file

@ -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();
}
}