From 800987ab95c4faa5532d735a85516fd09f5de724 Mon Sep 17 00:00:00 2001 From: yinsimei Date: Tue, 11 Jul 2017 14:57:31 +0200 Subject: SLUDGE: replace char *by Common::String --- engines/sludge/talk.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sludge/talk.h') diff --git a/engines/sludge/talk.h b/engines/sludge/talk.h index 4f344fb064..fe966cac27 100644 --- a/engines/sludge/talk.h +++ b/engines/sludge/talk.h @@ -27,7 +27,7 @@ namespace Sludge { struct speechLine { - char *textLine; + Common::String textLine; speechLine *next; int x; }; @@ -39,7 +39,7 @@ struct speechStruct { spritePalette talkCol; }; -int wrapSpeech(char *theText, int objT, int sampleFile, bool); +int wrapSpeech(const Common::String &theText, int objT, int sampleFile, bool); void viewSpeech(); void killAllSpeech(); int isThereAnySpeechGoingOn(); -- cgit v1.2.3