[Scummvm-cvs-logs] scummvm master -> 82b5ed65ccfa1dba63492809737d493dd4a3d70b

lordhoto lordhoto at gmail.com
Tue Feb 9 19:52:54 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:
82b5ed65cc SCI: Small variable renaming to match our naming guidelines.


Commit: 82b5ed65ccfa1dba63492809737d493dd4a3d70b
    https://github.com/scummvm/scummvm/commit/82b5ed65ccfa1dba63492809737d493dd4a3d70b
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2016-02-09T19:52:09+01:00

Commit Message:
SCI: Small variable renaming to match our naming guidelines.

Changed paths:
    engines/sci/event.cpp



diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index 7fa3f3c..126c6f2 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -364,17 +364,17 @@ SciEvent EventManager::getSciEvent(unsigned int mask) {
 
 void SciEngine::sleep(uint32 msecs) {
 	uint32 time;
-	const uint32 wakeup_time = g_system->getMillis() + msecs;
+	const uint32 wakeUpTime = g_system->getMillis() + msecs;
 
 	while (true) {
 		// let backend process events and update the screen
 		_eventMan->getSciEvent(SCI_EVENT_PEEK);
 		time = g_system->getMillis();
-		if (time + 10 < wakeup_time) {
+		if (time + 10 < wakeUpTime) {
 			g_system->delayMillis(10);
 		} else {
-			if (time < wakeup_time)
-				g_system->delayMillis(wakeup_time - time);
+			if (time < wakeUpTime)
+				g_system->delayMillis(wakeUpTime - time);
 			break;
 		}
 






More information about the Scummvm-git-logs mailing list