diff options
author | belugas <belugas@openttd.org> | 2008-08-01 03:43:53 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-01 03:43:53 +0000 |
commit | 69671d3aef250c7f720c2a6568e3f38c5821a9b2 (patch) | |
tree | a2a5592c034cc0305b5d9a309f37f99ee8849db9 /src/widget.cpp | |
parent | 325ef293fd15355dcec34d5e37ed379cec3b34e8 (diff) | |
download | openttd-69671d3aef250c7f720c2a6568e3f38c5821a9b2.tar.xz |
(svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage
Diffstat (limited to 'src/widget.cpp')
-rw-r--r-- | src/widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.cpp b/src/widget.cpp index 8c1abda6f..47e6f7097 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -496,7 +496,7 @@ void Window::DrawWidgets() const if (this->flags4 & WF_WHITE_BORDER_MASK) { - DrawFrameRect(0, 0, this->width - 1, this->height - 1, 0xF, FR_BORDERONLY); + DrawFrameRect(0, 0, this->width - 1, this->height - 1, COLOUR_WHITE, FR_BORDERONLY); } } |