From e19f7898b8b05c0e24b200809cef82b5e56ff1e9 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 5 Dec 2011 15:24:58 +0000 Subject: DREAMWEB: Minor fix to 'showPCX' call to ensure constant parameters. --- engines/dreamweb/vgagrafx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/dreamweb/vgagrafx.cpp') diff --git a/engines/dreamweb/vgagrafx.cpp b/engines/dreamweb/vgagrafx.cpp index e7efc22bf3..c10fb52686 100644 --- a/engines/dreamweb/vgagrafx.cpp +++ b/engines/dreamweb/vgagrafx.cpp @@ -219,7 +219,7 @@ static Common::String getFilename(Context &context) { return name; } -void DreamGenContext::showPCX(::Common::String name) { +void DreamGenContext::showPCX(const ::Common::String &name) { Common::File pcxFile; if (!pcxFile.open(name)) { -- cgit v1.2.3