This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] windres bugs


Hi!

This patch fixes two bugs in windres.

1) The FONT statement in DIALOGEX resources uses five parameters instead of
four. The fifth parameter specifies the used character set, e.g. ansi, oem,
default, russian, greek, etc.

2) The default window styles for DIALOG and DIALOGEX resources are wrong.
The WS_POPUP style was always added to the given window styles. This caused
severe problems in WS_CHILD dialogs.

Best regards,

Eric Kohl

----
11-18-2001 Eric Kohl (ekohl@rz-online.de)

* rcparse.y: Added fifth parameter (character set) to FONT statement in
DIALOGEX resources.
Fixed default window styles for DIALOG and DIALOGEX resources.

*resbin.c(bin_to_res_dialog): Fixed read/write code for dialogex resource
data.
(res_to_bin_dialog): Likewise.

*windres.h: Fixed dialog_ex resource data struct.

Attachment: windres.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]