- Timestamp:
- Jun 22, 2001, 9:32:29 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/listview.c
r6045 r6063 5278 5278 5279 5279 lpItem = (LISTVIEW_ITEM *)DPA_GetPtr(hdpaSubItems, 0); 5280 #ifdef __WIN32OS2__5281 if (lpItem == NULL || lpItem == -1) {5282 dprintf(("WARNING: lpItem (%x) INVALID", lpItem));5283 return FALSE;5284 }5285 #else5286 5280 if (lpItem == NULL) 5287 5281 return FALSE; 5288 #endif5289 5282 5290 5283 ZeroMemory(&dispInfo, sizeof(NMLVDISPINFOA)); … … 5358 5351 } 5359 5352 5353 #ifdef __WIN32OS2__ 5354 if ((UINT)*ppszText != -1) { 5355 dprintf(("LISTVIEW_GetItemA lpLVItem->mask (%x), dispInfo.item.mask (%x);", lpLVItem->mask, dispInfo.item.mask)); 5356 } 5357 #endif 5358 5360 5359 if (dispInfo.item.mask & LVIF_TEXT) 5361 5360 { 5362 5361 if ((dispInfo.item.mask & LVIF_DI_SETITEM) && (ppszText != NULL)) 5363 5362 { 5363 #ifdef __WIN32OS2__ 5364 dprintf(("LISTVIEW_GetItemA *ppszText (%x), dispInfo.item.pszText (%x);", *ppszText, dispInfo.item.pszText)); 5365 if ((UINT)*ppszText != -1) { 5366 Str_SetPtrA(ppszText, dispInfo.item.pszText); 5367 } /* endif */ 5368 #else 5364 5369 Str_SetPtrA(ppszText, dispInfo.item.pszText); 5370 #endif 5365 5371 } 5366 5372 /* If lpLVItem->pszText==dispInfo.item.pszText a copy is unnecessary, but */ … … 10924 10930 return hedit; 10925 10931 } 10932 10933
Note:
See TracChangeset
for help on using the changeset viewer.