# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 995502534 0 # Node ID f1002d51d959545d8b78d45aa30ae2b700ce6b4f # Parent f26eced21a3026e1ffeafded083b343ab562017c Fixed a container problem on OS/2 with separator set to 0. diff -r f26eced21a30 -r f1002d51d959 os2/dw.c --- a/os2/dw.c Wed Jul 18 22:32:45 2001 +0000 +++ b/os2/dw.c Thu Jul 19 00:28:54 2001 +0000 @@ -3716,9 +3716,9 @@ unsigned int dw_listbox_selected(HWND handle) { return (unsigned int)WinSendMsg(handle, - LM_QUERYSELECTION, - MPFROMSHORT(LIT_CURSOR), - 0); + LM_QUERYSELECTION, + MPFROMSHORT(LIT_CURSOR), + 0); } /* @@ -4164,7 +4164,7 @@ WinSendMsg(handle, CM_INSERTDETAILFIELDINFO, MPFROMP(first), MPFROMP(&detin)); - if(count > separator) + if(count > separator && separator > 0) { cnri.cb = sizeof(CNRINFO); cnri.pFieldInfoLast = left;