Am Mittwoch, 27. Juni 2007 schrieb [EMAIL PROTECTED]: > Index: src/hci.c > =================================================================== > --- src/hci.c (revision 1626) > +++ src/hci.c (working copy) > @@ -4132,10 +4132,19 @@ > return FALSE; > } > #endif > - > + //in case above is re-enabled, I did NO change to below. > + //this way if above is re-enable, no code change below required. > + //otherwise, if you change += to =, then it breaks position when > + //above reenabled. > + //other option is just to stick back #ifdef EDIT_OPTIONS that was > removed in rev1606 > + sButInit.formID = IDOPT_FORM; //this all required to set default > values. > + sButInit.x = OPT_GAP; > + sButInit.y = OPT_EDITY; > + sButInit.width = OPT_BUTWIDTH; > + sButInit.height = OPT_BUTHEIGHT; > /* Add the add object buttons */ > sButInit.id = IDOPT_DROID; > sButInit.x += OPT_GAP + OPT_BUTWIDTH; > sButInit.pText = "Unit"; > sButInit.pTip = "Place Unit on map"; > if (!widgAddButton(psWScreen, &sButInit)) Could someone comment on this? What was the issue. what does this fix, and why?
--Dennis
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
