diff options
author | Nick Clifton <nickc@redhat.com> | 2002-04-15 14:12:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-04-15 14:12:41 +0000 |
commit | 931e0a4efed823c10be0e4302051f5b9c5a72ca0 (patch) | |
tree | 6437c5f29caabc455dc90edd022dd44875aca9a2 /binutils/resrc.c | |
parent | b853733a19bfa1718a399a00c4b176ff1703e09f (diff) | |
download | binutils-redhat-931e0a4efed823c10be0e4302051f5b9c5a72ca0.tar.gz |
Allow two to five parameter in FONT statement of DIALOGEX resources.
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 773e08ab71..96de59c3f1 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"); } |