[OpenSTA-devel] [ opensta-Bugs-1507652 ] CFilterDlg::OnGetdispinfoUserIdList bug
Brought to you by:
dansut
|
From: SourceForge.net <no...@so...> - 2006-12-12 00:22:51
|
Bugs item #1507652, was opened at 2006-06-17 03:14 Message generated for change (Comment added) made by dansut You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1507652&group_id=10857 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: GUI Issue Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: denis-0 (denis-0) Assigned to: Nobody/Anonymous (nobody) Summary: CFilterDlg::OnGetdispinfoUserIdList bug Initial Comment: Hello This following code from the FilterDlg.cpp file probably has a bug. void CFilterDlg::OnGetdispinfoUserIdList(NMHDR* pNMHDR, LRESULT* pResult) { LV_DISPINFO* pDispInfo = (LV_DISPINFO*)pNMHDR; LV_ITEM &lv = pDispInfo->item; if(lv.mask | LVIF_TEXT ) { lv.pszText = m_arstrUserIds[lv.iItem].GetBuffer(0); } *pResult = 0; } lv.mask & LVIF_TEXT was probably meant instead of lv.mask | LVIF_TEXT Best regards Denis Linine ---------------------------------------------------------------------- >Comment By: Daniel Sutcliffe (dansut) Date: 2006-12-11 19:22 Message: Logged In: YES user_id=19748 Originator: NO Could you please describe the user symptom of this problem and where it occurs - also what your code change does/improves? Otherwise I feel like I'm just going to keep glancing over and ignoring it as it involves me doing some work just to find out what the point is ... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1507652&group_id=10857 |