Patch level : 12.0 no-patch
Files correlati : Commento : Corretto cast
This commit is contained in:
parent
b3eb8fb295
commit
5734578731
@ -627,11 +627,13 @@ void TViswin::repos_buttons ()
|
|||||||
if (space < 0)
|
if (space < 0)
|
||||||
space = 0;
|
space = 0;
|
||||||
|
|
||||||
int x = space;
|
short x = space;
|
||||||
const int by = br.top;
|
const short by = br.top;
|
||||||
|
|
||||||
for (int b = 0; b < buttons; b++)
|
for (int b = 0; b < buttons; b++)
|
||||||
{
|
{
|
||||||
const PNT p = { by, x };
|
const PNT p = { by, x };
|
||||||
|
|
||||||
xvt_rect_set_pos(&br, p);
|
xvt_rect_set_pos(&br, p);
|
||||||
((TPushbutton_control&)_button[b]).set_rect(br);
|
((TPushbutton_control&)_button[b]).set_rect(br);
|
||||||
x += space + width;
|
x += space + width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user