aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/dialogs.cpp')
-rw-r--r--engines/m4/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/dialogs.cpp b/engines/m4/dialogs.cpp
index e9c7414845..2a36fa037c 100644
--- a/engines/m4/dialogs.cpp
+++ b/engines/m4/dialogs.cpp
@@ -80,7 +80,7 @@ void Dialog::writeChars(const char *srcLine) {
while (*srcP) {
bool wordEndedP = false, newlineP = false;
char *destP = &wordStr[0];
- Common::set_to(&wordStr[0], &wordStr[80], 0);
+ Common::fill(&wordStr[0], &wordStr[80], 0);
// Try and get the next word
for (;;) {