wrc: Fix generation of custom dialog control data.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Dmitry Timoshkov 2018-10-01 14:47:42 +08:00 committed by Alexandre Julliard
parent 606b027277
commit d8607c57b0
1 changed files with 1 additions and 2 deletions

View File

@ -726,8 +726,7 @@ static res_t *dialog2res(name_id_t *name, dialog_t *dlg)
put_word(res, 0);
if(ctrl->extra)
{
put_word(res, ctrl->extra->size+2);
put_pad(res);
put_word(res, ctrl->extra->size);
put_raw_data(res, ctrl->extra, 0);
}
else