[Scummvm-cvs-logs] scummvm master -> 202cb1210ad0e29bcb2da406c2f23b847242fd2b

dreammaster dreammaster at scummvm.org
Fri Jan 29 04:40:03 CET 2016


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:
202cb1210a SHERLOCK: SS: Fix signed char issues with new isPrintable function


Commit: 202cb1210ad0e29bcb2da406c2f23b847242fd2b
    https://github.com/scummvm/scummvm/commit/202cb1210ad0e29bcb2da406c2f23b847242fd2b
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-01-28T22:39:24-05:00

Commit Message:
SHERLOCK: SS: Fix signed char issues with new isPrintable function

Changed paths:
    engines/sherlock/journal.cpp
    engines/sherlock/journal.h



diff --git a/engines/sherlock/journal.cpp b/engines/sherlock/journal.cpp
index 3312422..a30734c 100644
--- a/engines/sherlock/journal.cpp
+++ b/engines/sherlock/journal.cpp
@@ -706,7 +706,7 @@ void Journal::loadJournalFile(bool alreadyLoaded) {
 	}
 }
 
-bool Journal::isPrintable(char ch) const {
+bool Journal::isPrintable(byte ch) const {
 	Talk &talk = *_vm->_talk;
 	const byte *opcodes = talk._opcodes;
 
diff --git a/engines/sherlock/journal.h b/engines/sherlock/journal.h
index 0bd277a..bacd9fa 100644
--- a/engines/sherlock/journal.h
+++ b/engines/sherlock/journal.h
@@ -76,7 +76,7 @@ protected:
 	/**
 	 * Returns true if a given character is printable
 	 */
-	bool isPrintable(char ch) const;
+	bool isPrintable(byte ch) const;
 public:
 	static Journal *init(SherlockEngine *vm);
 	virtual ~Journal() {}






More information about the Scummvm-git-logs mailing list