Re: [Iup-users] IUP-TRUNK src\iup_dialog.c (745 line) dead code

2020-01-19 Thread Antonio Scuri
  Fixed and committed to the SVN. Thanks for reporting.

Best,
Scuri


Em sex., 17 de jan. de 2020 às 20:30, Ranier Vilela 
escreveu:

> Hi,
>
> src\iup_dialog.c iDialogCustomFrameButton_CB function.
>
> The logic in this function has problems.
> At line 678 the var "pressed" is tested, after this has:
> 1. at line 725 the var pressed is always true
> 2. at line 744 the var !pressed is always false
> 3, at line 745 dead code
>
> 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


[Iup-users] IUP-TRUNK src\iup_dialog.c (745 line) dead code

2020-01-17 Thread Ranier Vilela
Hi,

src\iup_dialog.c iDialogCustomFrameButton_CB function.

The logic in this function has problems.
At line 678 the var "pressed" is tested, after this has:
1. at line 725 the var pressed is always true
2. at line 744 the var !pressed is always false
3, at line 745 dead code

best regards,
Ranier Vilela 

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users