Patch level : 12.0 no-patch

Files correlati     :
Commento            :

Corretto cast
This commit is contained in:
Alessandro Bonazzi 2020-07-26 09:58:15 +02:00
parent b3eb8fb295
commit 5734578731

View File

@ -627,11 +627,13 @@ void TViswin::repos_buttons ()
if (space < 0)
space = 0;
int x = space;
const int by = br.top;
short x = space;
const short by = br.top;
for (int b = 0; b < buttons; b++)
{
const PNT p = { by, x };
xvt_rect_set_pos(&br, p);
((TPushbutton_control&)_button[b]).set_rect(br);
x += space + width;