aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/window_text_buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/window_text_buffer.cpp')
-rw-r--r--engines/glk/window_text_buffer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/glk/window_text_buffer.cpp b/engines/glk/window_text_buffer.cpp
index ce4dd7c22e..0faafc803c 100644
--- a/engines/glk/window_text_buffer.cpp
+++ b/engines/glk/window_text_buffer.cpp
@@ -1587,8 +1587,7 @@ void TextBufferWindow::scrollResize() {
_scrollBack += SCROLLBACK;
}
-int TextBufferWindow::calcWidth(uint32 *chars, Attributes *attrs, int startchar,
- int numChars, int spw) {
+int TextBufferWindow::calcWidth(const uint32 *chars, const Attributes *attrs, int startchar, int numChars, int spw) {
Screen &screen = *g_vm->_screen;
int w = 0;
int a, b;