v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
660 stars 58 forks source link

Update form.c #91

Closed shlyakpavel closed 4 years ago

shlyakpavel commented 4 years ago

The conditional expression is always true

v1cont commented 4 years ago

thanks for payed my attention to this piece of code, this is a typo, must be s1 instead of s. but checking for !NULL is important, only a correct range must be applied to a field