Ignore:
Timestamp:
Jul 13, 2001, 9:35:05 PM (24 years ago)
Author:
sandervl
Message:

pointer check fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/listview.c

    r6063 r6320  
    53525352
    53535353#ifdef __WIN32OS2__
    5354       if ((UINT)*ppszText != -1) {
     5354      if (ppszText && (UINT)*ppszText != -1) {
    53555355        dprintf(("LISTVIEW_GetItemA lpLVItem->mask (%x), dispInfo.item.mask (%x);", lpLVItem->mask, dispInfo.item.mask));
    53565356      }
     
    53635363#ifdef __WIN32OS2__
    53645364      dprintf(("LISTVIEW_GetItemA *ppszText (%x), dispInfo.item.pszText (%x);", *ppszText, dispInfo.item.pszText));
    5365       if ((UINT)*ppszText != -1) {
     5365      if (ppszText && (UINT)*ppszText != -1) {
    53665366        Str_SetPtrA(ppszText, dispInfo.item.pszText);
    53675367      } /* endif */
Note: See TracChangeset for help on using the changeset viewer.