Fixed and committed to the SVN. Thanks for reporting. Best, Scuri
Em sáb, 25 de mai de 2019 às 09:37, Ranier VF <ranier_...@hotmail.com> escreveu: > Hi, > Fix iupwin_dragdrop.c: > --- \dll\iup\a\src\win\iupwin_dragdrop.c Wed Apr 24 17:12:36 2019 > +++ iupwin_dragdrop.c Sat May 25 09:34:29 2019 > @@ -391,7 +391,7 @@ > { > IFns cbDragDataSize; > IFnsVi cbDragData; > - int size; > + int size = 0; > void *pData; > TCHAR type[256]; > > @@ -405,7 +405,8 @@ > winGetClipboardFormatName(pFormatEtc->cfFormat, type, 256); > > cbDragDataSize = (IFns)IupGetCallback(pThis->ih, "DRAGDATASIZE_CB"); > - size = cbDragDataSize(pThis->ih, iupwinStrFromSystem(type)); > + if (cbDragDataSize) > + size = cbDragDataSize(pThis->ih, iupwinStrFromSystem(type)); > if (size <= 0) > return STG_E_MEDIUMFULL; > > Best regards, > Ranier Vilela_______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users