Changeset 727
- Timestamp:
- Jul 8, 2007, 5:15:02 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/draglist.c
r672 r727 19 19 21 Apr 07 SHL Avoid odd first time drag failure 20 20 12 May 07 SHL Use dcd->ulItemsToUnHilite 21 05 Jul 07 FreeDragInfoData: suppress PMERR_SOURCE_SAME_AS_TARGET notices 21 22 22 23 ***********************************************************************/ … … 98 99 # endif 99 100 if (!DrgFreeDraginfo(pDInfo)) { 100 if ((WinGetLastError(WinQueryAnchorBlock(hwnd)) & 0xffff) == PMERR_SOURCE_SAME_AS_TARGET) { 101 // fixme to find caller responsible for PMERR_SOURCE_SAME_AS_TARGET 102 Win_Error_NoMsgBox(HWND_DESKTOP, HWND_DESKTOP, pszSrcFile, __LINE__, 103 "DrgFreeDraginfo failed with PMERR_SOURCE_SAME_AS_TARGET"); 104 } 105 else 101 // PMERR_SOURCE_SAME_AS_TARGET is not an error if dragging within same fm/2 process 102 if (!IsFm2Window(pDInfo->hwndSource, FALSE) || 103 (WinGetLastError(WinQueryAnchorBlock(hwnd)) & 0xffff) != PMERR_SOURCE_SAME_AS_TARGET) 104 { 106 105 Win_Error(hwnd, hwnd, pszSrcFile, __LINE__, "DrgFreeDraginfo"); 106 } 107 107 } 108 108 }
Note:
See TracChangeset
for help on using the changeset viewer.