diff --git a/engines/mads/menu_views.cpp b/engines/mads/menu_views.cpp index ad1b30d1ac5..d2d0034bd73 100644 --- a/engines/mads/menu_views.cpp +++ b/engines/mads/menu_views.cpp @@ -310,7 +310,7 @@ void TextView::processText() { // Delete the @ character and shift back the remainder of the string char *p = centerP + 1; if (*p == ' ') ++p; - strcpy(centerP, p); + Common::strcpy_s(centerP, 80 - (centerP - _currentLine), p); } else { int lineWidth = _font->getWidth(_currentLine);