aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-06-10 19:41:03 +0200
committerSebastian Geerken <devnull@localhost>2015-06-10 19:41:03 +0200
commit22ad8daa0b3e6b20e911e12e0f0e657b52303698 (patch)
treec0dbbcef8812f940f8a2be425a57cbb622efb0e8
parent664c1317643550538031c0e0132b38fe2729ca02 (diff)
SRDOP: Bug fix.
-rw-r--r--dw/tools.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/tools.cc b/dw/tools.cc
index 1db83306..8f36069a 100644
--- a/dw/tools.cc
+++ b/dw/tools.cc
@@ -62,7 +62,7 @@ void SizeParams::forChild (Widget *parent, Widget *child, int xRel, int yRel,
for (int i = 0; i < numChildReferences; i++) {
Widget *childReference = child->sizeRequestReference (i);
if (childReference == parent) {
- references[numPos] = childReference;
+ childParams->references[numPos] = childReference;
childParams->x[numPos] = xRel;
childParams->y[numPos] = yRel;
numPos++;