diff options
author | Paul Gilbert | 2019-01-16 21:12:03 -0800 |
---|---|---|
committer | Paul Gilbert | 2019-01-16 21:12:03 -0800 |
commit | 795e23c05d81ca40f46f38bac0872272de6f9851 (patch) | |
tree | 5f452e00600198dad7f21ed96690501cba95794c /engines/glk/windows.cpp | |
parent | b076911ae405612bfac834a8891a47916d406359 (diff) | |
download | scummvm-rg350-795e23c05d81ca40f46f38bac0872272de6f9851.tar.gz scummvm-rg350-795e23c05d81ca40f46f38bac0872272de6f9851.tar.bz2 scummvm-rg350-795e23c05d81ca40f46f38bac0872272de6f9851.zip |
GLK: Constifying attribute, width calc methods
Diffstat (limited to 'engines/glk/windows.cpp')
-rw-r--r-- | engines/glk/windows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/windows.cpp b/engines/glk/windows.cpp index c8ab44768d..624defa9f5 100644 --- a/engines/glk/windows.cpp +++ b/engines/glk/windows.cpp @@ -730,7 +730,7 @@ void Attributes::clear() { style = 0; } -byte *Attributes::attrBg(WindowStyle *styles) { +const byte *Attributes::attrBg(const WindowStyle *styles) { int revset = reverse || (styles[style].reverse && !Windows::_overrideReverse); int zfset = fgset ? fgset : Windows::_overrideFgSet; @@ -771,7 +771,7 @@ byte *Attributes::attrBg(WindowStyle *styles) { } } -byte *Attributes::attrFg(WindowStyle *styles) { +const byte *Attributes::attrFg(const WindowStyle *styles) { int revset = reverse || (styles[style].reverse && !Windows::_overrideReverse); int zfset = fgset ? fgset : Windows::_overrideFgSet; |