X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=fd588277fbfe0955579f5629b7b97cc7de3061b3;hb=c710867ec795302b379a5cdf99cb4ad3ed2a9cdd;hp=87478255cfe81a26d71ce89f7c9ea41906b22041;hpb=c34ad545e013f2ef70e98ca11663f279a77fd422;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index 87478255..fd588277 100644 --- a/src/tools.c +++ b/src/tools.c @@ -5326,8 +5326,8 @@ void CreateToolButtons() gi = CreateGadget(GDI_CUSTOM_ID, id, GDI_INFO_TEXT, toolbutton_info[i].infotext, - GDI_X, dx + GDI_ACTIVE_POS(pos->x), - GDI_Y, dy + GDI_ACTIVE_POS(pos->y), + GDI_X, dx + pos->x, + GDI_Y, dy + pos->y, GDI_WIDTH, gfx->width, GDI_HEIGHT, gfx->height, GDI_TYPE, GD_TYPE_NORMAL_BUTTON,