diff options
Diffstat (limited to 'binutils/resrc.c')
-rw-r--r-- | binutils/resrc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/binutils/resrc.c b/binutils/resrc.c index 773e08a..96de59c 100644 --- a/binutils/resrc.c +++ b/binutils/resrc.c @@ -2087,8 +2087,11 @@ write_rc_dialog (e, dialog) unicode_print (e, dialog->font, -1); fprintf (e, "\""); if (dialog->ex != NULL - && (dialog->ex->weight != 0 || dialog->ex->italic != 0)) - fprintf (e, ", %d, %d", dialog->ex->weight, dialog->ex->italic); + && (dialog->ex->weight != 0 + || dialog->ex->italic != 0 + || dialog->ex->charset != 1)) + fprintf (e, ", %d, %d, %d", + dialog->ex->weight, dialog->ex->italic, dialog->ex->charset); fprintf (e, "\n"); } |