Fixed error writing control IDs in dialogex on sparc.

This commit is contained in:
Eric Frias 2004-11-21 15:38:00 +00:00 committed by Alexandre Julliard
parent 8cd13776e2
commit 741844c6ea
1 changed files with 1 additions and 3 deletions

View File

@ -790,9 +790,7 @@ static res_t *dialogex2res(name_id_t *name, dialogex_t *dlgex)
put_word(res, ctrl->y);
put_word(res, ctrl->width);
put_word(res, ctrl->height);
put_word(res, ctrl->id);
/* FIXME: Pad is _NOT_ documented!?! */
put_pad(res);
put_dword(res, ctrl->id);
if(ctrl->ctlclass)
put_name_id(res, ctrl->ctlclass, TRUE, dlgex->lvc.language);
else