[Scummvm-cvs-logs] scummvm master -> e19f7898b8b05c0e24b200809cef82b5e56ff1e9

digitall digitall at scummvm.org
Mon Dec 5 16:26:39 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e19f7898b8 DREAMWEB: Minor fix to 'showPCX' call to ensure constant parameters.


Commit: e19f7898b8b05c0e24b200809cef82b5e56ff1e9
    https://github.com/scummvm/scummvm/commit/e19f7898b8b05c0e24b200809cef82b5e56ff1e9
Author: D G Turner (digitall at scummvm.org)
Date: 2011-12-05T07:24:58-08:00

Commit Message:
DREAMWEB: Minor fix to 'showPCX' call to ensure constant parameters.

Changed paths:
    engines/dreamweb/stubs.h
    engines/dreamweb/vgagrafx.cpp



diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h
index c26aa30..170d10b 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 e7efc22..c10fb52 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)) {






More information about the Scummvm-git-logs mailing list