diff options
Diffstat (limited to 'engines/gargoyle/window_text_grid.cpp')
-rw-r--r-- | engines/gargoyle/window_text_grid.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/engines/gargoyle/window_text_grid.cpp b/engines/gargoyle/window_text_grid.cpp index e2ee06ec6a..7b349a5e48 100644 --- a/engines/gargoyle/window_text_grid.cpp +++ b/engines/gargoyle/window_text_grid.cpp @@ -607,9 +607,8 @@ void TextGridWindow::redraw() { o = x; for (k = a; k < b; k++) { - screen.drawStringUni(o * GLI_SUBPIX, - y + g_conf->_baseLine, font, fgcolor, - &ln->_chars[k], 1, -1); + screen.drawStringUni(Common::Point(o * GLI_SUBPIX, y + g_conf->_baseLine), + font, fgcolor, Common::U32String(&ln->_chars[k], 1), -1); o += g_conf->_cellW; } if (link) { @@ -631,9 +630,8 @@ void TextGridWindow::redraw() { o = x; for (k = a; k < b; k++) { - screen.drawStringUni(o * GLI_SUBPIX, - y + g_conf->_baseLine, font, fgcolor, - &ln->_chars[k], 1, -1); + screen.drawStringUni(Common::Point(o * GLI_SUBPIX, y + g_conf->_baseLine), + font, fgcolor, Common::U32String(&ln->_chars[k], 1)); o += g_conf->_cellW; } if (link) { |