Mercurial > dwindows
changeset 23:2932f9d2c7d5
New OS/2 code from FX changes.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 04 Aug 2001 19:36:21 +0000 |
parents | 6a246b3bb14f |
children | d9e87e8bcf1d |
files | os2/dw.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/os2/dw.c Thu Aug 02 09:57:21 2001 +0000 +++ b/os2/dw.c Sat Aug 04 19:36:21 2001 +0000 @@ -4577,6 +4577,9 @@ int z, currentcount; CNRINFO cnr; + if(!ci) + return; + WinSendMsg(ci->handle, CM_QUERYCNRINFO, (MPARAM)&cnr, MPFROMSHORT(sizeof(CNRINFO))); currentcount = cnr.cRecords; @@ -4600,6 +4603,9 @@ RECORDINSERT recin; ContainerInfo *ci = (ContainerInfo *)pointer; + if(!ci) + return; + recin.cb = sizeof(RECORDINSERT); recin.pRecordOrder = (PRECORDCORE)CMA_END; recin.pRecordParent = NULL;