[Scummvm-git-logs] scummvm master -> 0e02da6000768d74c0a51a5e8b9e23e9a2c3bc13
sev-
sev at scummvm.org
Sun Apr 15 23:55:28 CEST 2018
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:
0e02da6000 JANITORIAL: Fix code formatting
Commit: 0e02da6000768d74c0a51a5e8b9e23e9a2c3bc13
https://github.com/scummvm/scummvm/commit/0e02da6000768d74c0a51a5e8b9e23e9a2c3bc13
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2018-04-15T23:55:07+02:00
Commit Message:
JANITORIAL: Fix code formatting
Changed paths:
engines/mohawk/myst_stacks/myst.cpp
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp
index 83d787f..c63f908 100644
--- a/engines/mohawk/myst_stacks/myst.cpp
+++ b/engines/mohawk/myst_stacks/myst.cpp
@@ -642,8 +642,7 @@ uint16 Myst::getVar(uint16 var) {
return 10;
else
return 1;
- }
- else {
+ } else {
// 24 Hour Format
observatoryLeftMinutes = _state.observatoryTimeSetting;
if (observatoryLeftMinutes < (10 * 60))
@@ -659,12 +658,11 @@ uint16 Myst::getVar(uint16 var) {
// 12 Hour Format
observatoryRightMinutes = _state.observatoryTimeSetting % (12 * 60);
observatoryRightHour = observatoryRightMinutes / 60;
- if ( observatoryRightHour % 12 == 0)
+ if (observatoryRightHour % 12 == 0)
return 2;
else
return observatoryRightHour % 10;
- }
- else {
+ } else {
// 24 Hour Format
observatoryRightMinutes = _state.observatoryTimeSetting;
observatoryRightHour = observatoryRightMinutes / 60;
More information about the Scummvm-git-logs
mailing list