[patch] windres bugs

Eric Kohl ekohl@rz-online.de
Thu Nov 8 18:22:00 GMT 2001
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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: windres.diff
Type: application/octet-stream
Size: 4012 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20011108/a82de59f/attachment.obj>


More information about the Binutils mailing list