Dmitry Timoshkov : wrc: Fix generation of custom dialog control data.
Alexandre Julliard
julliard at winehq.org
Mon Oct 1 21:19:05 CDT 2018
Module: wine
Branch: master
Commit: d8607c57b09341291b150afbb2998f3dc9267f6b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d8607c57b09341291b150afbb2998f3dc9267f6b
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Mon Oct 1 14:47:42 2018 +0800
wrc: Fix generation of custom dialog control data.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tools/wrc/genres.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/wrc/genres.c b/tools/wrc/genres.c
index 8c2f280..939d265 100644
--- a/tools/wrc/genres.c
+++ b/tools/wrc/genres.c
@@ -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
More information about the wine-cvs
mailing list