diff options
Diffstat (limited to 'engines/glk/hugo/heglk.cpp')
| -rw-r--r-- | engines/glk/hugo/heglk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/hugo/heglk.cpp b/engines/glk/hugo/heglk.cpp index 86be90c268..1d4586c9ab 100644 --- a/engines/glk/hugo/heglk.cpp +++ b/engines/glk/hugo/heglk.cpp @@ -82,8 +82,8 @@ void Hugo::hugo_getline(const char *prmpt) { /* Copy the input to the script file (if open) */ if (script) { - Common::String line = Common::String::format("%s%s\n", prompt, buffer); - script->putBuffer(line.c_str(), line.size()); + Common::String text = Common::String::format("%s%s\n", prompt, buffer); + script->putBuffer(text.c_str(), text.size()); } } |
