Fixed and committed to the SVN.
Em sáb, 25 de mai de 2019 às 09:59, Ranier VF <[email protected]>
escreveu:
> Hi,
> --- \dll\iup\a\src\iup_globalsdlg.c Tue Apr 23 18:07:31 2019
> +++ iup_globalsdlg.c Sat May 25 09:56:52 2019
> @@ -216,9 +216,8 @@
> IupSetAttributeId(list2, "", i + 1, attr_names[i]);
> IupSetIntId(list2, "_IUP_READONLY", i + 1, 0);
> }
> -
> - free(attr_names);
> }
> + free(attr_names);
>
> total_count = iGlobalGetRegisteredAttributes(NULL, 0);
> qsort(attribs, total_count, sizeof(iRegisteredGlobal), compare_names);
> @@ -239,16 +238,18 @@
> attr_names = (char **)malloc(total_count * sizeof(char *));
> attr_count = iupGetFunctions(attr_names, total_count);
> for (i = 0; i < attr_count; i++)
> + {
> IupSetAttributeId(list3, "", i + 1, attr_names[i]);
> -
> + }
> free(attr_names);
>
> total_count = IupGetAllNames(NULL, 0);
> attr_names = (char **)malloc(total_count * sizeof(char *));
> attr_count = IupGetAllNames(attr_names, total_count);
> for (i = 0; i < attr_count; i++)
> + {
> IupSetAttributeId(list4, "", i + 1, attr_names[i]);
> -
> + }
> free(attr_names);
> }
>
> Best regards,
> Ranier Vilela_______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users