From 91eafb409b7bdf9462b9e5d0ba690c288814e979 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 9 Apr 2002 15:59:13 +0000 Subject: Don't add default dialog style when explicit style specified. Print style even if it is 0. Add testcase. --- binutils/testsuite/binutils-all/windres/printstyle.rc | 6 ++++++ binutils/testsuite/binutils-all/windres/printstyle.rsd | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 binutils/testsuite/binutils-all/windres/printstyle.rc create mode 100644 binutils/testsuite/binutils-all/windres/printstyle.rsd (limited to 'binutils/testsuite') diff --git a/binutils/testsuite/binutils-all/windres/printstyle.rc b/binutils/testsuite/binutils-all/windres/printstyle.rc new file mode 100644 index 0000000..0066c99 --- /dev/null +++ b/binutils/testsuite/binutils-all/windres/printstyle.rc @@ -0,0 +1,6 @@ +101 DIALOG DISCARDABLE 0, 0, 186, 95 +STYLE 0 +BEGIN + DEFPUSHBUTTON "OK",1,129,7,50,14 +END + diff --git a/binutils/testsuite/binutils-all/windres/printstyle.rsd b/binutils/testsuite/binutils-all/windres/printstyle.rsd new file mode 100644 index 0000000..df203cb --- /dev/null +++ b/binutils/testsuite/binutils-all/windres/printstyle.rsd @@ -0,0 +1,8 @@ + 0000 00000000 20000000 ffff0000 ffff0000 .... ........... + 0010 00000000 00000000 00000000 00000000 ................ + 0020 36000000 20000000 ffff0500 ffff6500 6... .........e. + 0030 00000000 10100000 00000000 00000000 ................ + 0040 00000000 00000000 01000000 0000ba00 ................ + 0050 5f000000 00000000 01000150 00000000 _..........P.... + 0060 81000700 32000e00 0100ffff 80004f00 ....2.........O. + 0070 4b000000 00000000 K....... -- cgit v1.1