[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> I don't know the first thing about this piece of code but I think that, at
> least syntactically, there is a problem: suppose autocrop is set
> and either
> tx or ty is set to a non zero value by 'bmp = crop_bitmap(bmp, &tx, &ty)'
> then dat is passed uninitialized to datedit_set_property().
hey, you're right! :)
i was looking at the tx and ty vars, since the patch initialized them, and
i thought the bug was here ... dat would indeed be uninitialized there.
--
Lyrian