[Scummvm-git-logs] scummvm master -> efb9b650824c61f670e28495c3cf47d905debb06

sev- sev at scummvm.org
Tue Feb 25 00:01:43 UTC 2020


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:
efb9b65082 DIRECTOR: Code formatting


Commit: efb9b650824c61f670e28495c3cf47d905debb06
    https://github.com/scummvm/scummvm/commit/efb9b650824c61f670e28495c3cf47d905debb06
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-02-25T01:01:29+01:00

Commit Message:
DIRECTOR: Code formatting

Changed paths:
    engines/director/util.cpp


diff --git a/engines/director/util.cpp b/engines/director/util.cpp
index 1b674ba097..a7f27d0302 100644
--- a/engines/director/util.cpp
+++ b/engines/director/util.cpp
@@ -189,19 +189,19 @@ static bool myIsVowel(byte c) {
 }
 
 static bool myIsAlpha(byte c) {
-	return ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'));
+	return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
 }
 
 static bool myIsDigit(byte c) {
-	return (c >= '0' && c <= '9');
+	return c >= '0' && c <= '9';
 }
 
 static bool myIsAlnum(byte c) {
-	return (myIsAlpha(c) || myIsDigit(c));
+	return myIsAlpha(c) || myIsDigit(c);
 }
 
 static bool myIsSpace(byte c) {
-	return c ==' ';
+	return c == ' ';
 }
 
 Common::String convertMacFilename(const char *name) {




More information about the Scummvm-git-logs mailing list