[Scummvm-cvs-logs] scummvm master -> 6e27b523c0a633e7a4c9458bfed64b1c24666a65

dreammaster dreammaster at scummvm.org
Mon Jul 28 00:31:57 CEST 2014


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:
6e27b523c0 MADS: Fix invalid parameter in error call


Commit: 6e27b523c0a633e7a4c9458bfed64b1c24666a65
    https://github.com/scummvm/scummvm/commit/6e27b523c0a633e7a4c9458bfed64b1c24666a65
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-07-27T18:31:09-04:00

Commit Message:
MADS: Fix invalid parameter in error call

Changed paths:
    engines/mads/nebular/menu_nebular.cpp



diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp
index c15cd1d..11bace3 100644
--- a/engines/mads/nebular/menu_nebular.cpp
+++ b/engines/mads/nebular/menu_nebular.cpp
@@ -613,7 +613,7 @@ void AnimationView::load() {
 		resName += ".res";
 
 	if (!_script.open(resName))
-		error("Could not open resource %s", resName);
+		error("Could not open resource %s", resName.c_str());
 
 	processLines();
 }






More information about the Scummvm-git-logs mailing list