From 16a5a99c3aa615f5b69a8c4c1df987c906973990 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 21 Jan 2015 22:09:12 -0500 Subject: XEEN: Fix strings used by newly added script commands --- engines/xeen/scripts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/xeen/scripts.cpp') diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 44b5cb325e..3bf7a3104c 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -188,7 +188,7 @@ void Scripts::doOpcode(Opcode opcode, Common::Array ¶ms) { */ void Scripts::cmdDisplay1(Common::Array ¶ms) { Screen &screen = *_vm->_screen; - Common::String msg = Common::String::format("\r\x03c%s", _paramText.c_str()); + Common::String msg = Common::String::format("\r\x03""c%s", _paramText.c_str()); screen._windows[12].close(); if (screen._windows[38]._enabled) @@ -205,7 +205,7 @@ void Scripts::cmdDisplay1(Common::Array ¶ms) { */ void Scripts::cmdDoorTextSml(Common::Array ¶ms) { Interface &intf = *_vm->_interface; - intf._screenText = Common::String::format("\x02\f08\x03c\t116\v025%s\x03l\fd\x01", + intf._screenText = Common::String::format("\x02\f""08\x03""c\t116\v025%s\x03""l\fd""\x01", _paramText.c_str()); intf._upDoorText = true; intf.draw3d(true); @@ -219,7 +219,7 @@ void Scripts::cmdDoorTextSml(Common::Array ¶ms) { */ void Scripts::cmdDoorTextLrg(Common::Array ¶ms) { Interface &intf = *_vm->_interface; - intf._screenText = Common::String::format("\f04\x03c\t116\v030%s\x03l\fd", + intf._screenText = Common::String::format("\f04\x03""c\t116\v030%s\x03""l\fd", _paramText.c_str()); intf._upDoorText = true; intf.draw3d(true); -- cgit v1.2.3