Alexandre Julliard : wrc: Allow specifying the default message font in dialogs by setting DS_SETFONT.

Alexandre Julliard julliard at winehq.org
Tue Apr 15 14:50:34 CDT 2014


Module: wine
Branch: master
Commit: 03167b43698ad49c9c2dd90fb927e96fb3af9aa7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=03167b43698ad49c9c2dd90fb927e96fb3af9aa7

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Apr 15 19:50:11 2014 +0200

wrc: Allow specifying the default message font in dialogs by setting DS_SETFONT.

---

 tools/wrc/genres.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/wrc/genres.c b/tools/wrc/genres.c
index 61b2b29..9cea432 100644
--- a/tools/wrc/genres.c
+++ b/tools/wrc/genres.c
@@ -682,6 +682,7 @@ static res_t *dialog2res(name_id_t *name, dialog_t *dlg)
 			}
 			put_string(res, dlg->font->name, str_unicode, TRUE, dlg->lvc.language);
 		}
+                else if (dlg->style->or_mask & DS_SETFONT) put_word( res, 0x7fff );
 
 		put_pad(res);
 		while(ctrl)




More information about the wine-cvs mailing list