aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/dreamweb/stubs.h2
-rw-r--r--engines/dreamweb/vgagrafx.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h
index c26aa3001c..170d10be1f 100644
--- a/engines/dreamweb/stubs.h
+++ b/engines/dreamweb/stubs.h
@@ -449,7 +449,7 @@
void readKey();
void hangOne(uint16 delay);
void hangOne();
- void showPCX(::Common::String name);
+ void showPCX(const ::Common::String &name);
void showPCX();
#endif
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)) {