removed support for off-screen positions for request dialog buttons
[rocksndiamonds.git] / src / tools.c
index 87478255cfe81a26d71ce89f7c9ea41906b22041..fd588277fbfe0955579f5629b7b97cc7de3061b3 100644 (file)
@@ -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,