aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/windows.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-03-09 20:29:20 -0800
committerPaul Gilbert2019-03-09 20:35:58 -0800
commit537e9af4e03abe5e961f9933a493722a8971f75c (patch)
tree06e17917de8e2647c9b9ef9102717377b0df2416 /engines/glk/windows.cpp
parente45dd70654e6537b4873f1b6c7b7b1b924f21d84 (diff)
downloadscummvm-rg350-537e9af4e03abe5e961f9933a493722a8971f75c.tar.gz
scummvm-rg350-537e9af4e03abe5e961f9933a493722a8971f75c.tar.bz2
scummvm-rg350-537e9af4e03abe5e961f9933a493722a8971f75c.zip
GLK: Change Attributes fields from uint to bool
Diffstat (limited to 'engines/glk/windows.cpp')
-rw-r--r--engines/glk/windows.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/glk/windows.cpp b/engines/glk/windows.cpp
index 5683b039cf..7ffc396790 100644
--- a/engines/glk/windows.cpp
+++ b/engines/glk/windows.cpp
@@ -506,9 +506,9 @@ Window::Window(Windows *windows, uint rock) : _windows(windows), _rock(rock),
_lineRequest(0), _lineRequestUni(0), _charRequest(0), _charRequestUni(0),
_mouseRequest(0), _hyperRequest(0), _moreRequest(0), _scrollRequest(0), _imageLoaded(0),
_echoLineInputBase(true), _lineTerminatorsBase(nullptr), _termCt(0), _echoStream(nullptr) {
- _attr.fgset = 0;
- _attr.bgset = 0;
- _attr.reverse = 0;
+ _attr.fgset = false;
+ _attr.bgset = false;
+ _attr.reverse = false;
_attr.style = 0;
_attr.fgcolor = 0;
_attr.bgcolor = 0;
@@ -733,8 +733,8 @@ WindowStyle::WindowStyle(const WindowStyleStatic &src) : font(src.font), reverse
/*--------------------------------------------------------------------------*/
void Attributes::clear() {
- fgset = 0;
- bgset = 0;
+ fgset = false;
+ bgset = false;
fgcolor = 0;
bgcolor = 0;
reverse = false;