projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7374bf8
)
removed support for off-screen positions for request dialog buttons
author
Holger Schemel
<info@artsoft.org>
Sun, 3 Jun 2018 20:40:05 +0000
(22:40 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 3 Jun 2018 20:40:05 +0000
(22:40 +0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 87478255cfe81a26d71ce89f7c9ea41906b22041..fd588277fbfe0955579f5629b7b97cc7de3061b3 100644
(file)
--- 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,