diff options
Diffstat (limited to 'engines/director/lingo/lingo.cpp')
-rw-r--r-- | engines/director/lingo/lingo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index f7eafda11b..9a92d2f2ac 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -75,7 +75,6 @@ struct EventHandlerType { }; Symbol::Symbol() { - name = NULL; type = VOID; u.s = NULL; nargs = 0; @@ -395,7 +394,7 @@ Common::String *Datum::toString() { *s = "#void"; break; case VAR: - *s = Common::String::format("var: #%s", u.sym->name); + *s = Common::String::format("var: #%s", u.sym->name.c_str()); break; default: warning("Incorrect operation toString() for type: %s", type2str()); |