aboutsummaryrefslogtreecommitdiff
path: root/binutils/rcparse.y
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-04-09 17:23:19 +0000
committerNick Clifton <nickc@redhat.com>2002-04-09 17:23:19 +0000
commitb62a12ca8898734403c9a763d6156017cf611824 (patch)
treea734024f551bacfe8641c97855eaf314d2f7fed2 /binutils/rcparse.y
parent420380ba3ec986199ec3af195850d75129c4f229 (diff)
downloadbinutils-b62a12ca8898734403c9a763d6156017cf611824.zip
binutils-b62a12ca8898734403c9a763d6156017cf611824.tar.gz
binutils-b62a12ca8898734403c9a763d6156017cf611824.tar.bz2
Add WS_CAPTION dialog style if CAPTION is specified.
Add testcase.
Diffstat (limited to 'binutils/rcparse.y')
-rw-r--r--binutils/rcparse.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/rcparse.y b/binutils/rcparse.y
index fcd34cc..4ab9a09 100644
--- a/binutils/rcparse.y
+++ b/binutils/rcparse.y
@@ -412,6 +412,8 @@ styles:
/* empty */
| styles CAPTION QUOTEDSTRING
{
+ dialog.style |= WS_CAPTION;
+ style |= WS_CAPTION;
unicode_from_ascii ((int *) NULL, &dialog.caption, $3);
}
| styles CLASS id