[Scummvm-cvs-logs] scummvm master -> a2e4157114811a55f508391fde98041f59f65406

sev- sev at scummvm.org
Wed Jul 20 22:11:08 CEST 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:
a2e4157114 JANITORIAL: Fix indentation


Commit: a2e4157114811a55f508391fde98041f59f65406
    https://github.com/scummvm/scummvm/commit/a2e4157114811a55f508391fde98041f59f65406
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-07-20T23:11:08+03:00

Commit Message:
JANITORIAL: Fix indentation

Changed paths:
    engines/wage/gui.cpp
    engines/wage/macwindow.cpp
    engines/wage/world.cpp



diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 310e573..0992791 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -83,7 +83,7 @@ static const MenuData menuSubItems[] = {
 };
 
 static void cursorTimerHandler(void *refCon) {
-    Gui *gui = (Gui *)refCon;
+	Gui *gui = (Gui *)refCon;
 
 	int x = gui->_cursorX;
 	int y = gui->_cursorY;
diff --git a/engines/wage/macwindow.cpp b/engines/wage/macwindow.cpp
index 8903936..db8ef38 100644
--- a/engines/wage/macwindow.cpp
+++ b/engines/wage/macwindow.cpp
@@ -264,16 +264,16 @@ void MacWindow::setHighlight(WindowClick highlightedPart) {
 
 	_highlightedPart = highlightedPart;
 	_borderIsDirty = true;
- }
+}
 
- void MacWindow::setScroll(float scrollPos, float scrollSize) {
+void MacWindow::setScroll(float scrollPos, float scrollSize) {
 	if (_scrollPos == scrollPos && _scrollSize == scrollSize)
 		return;
 
 	_scrollPos = scrollPos;
 	_scrollSize = scrollSize;
 	_borderIsDirty = true;
- }
+}
 
 
 void MacWindow::drawBox(Graphics::ManagedSurface *g, int x, int y, int w, int h) {
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp
index 716e197..0e40e11 100644
--- a/engines/wage/world.cpp
+++ b/engines/wage/world.cpp
@@ -417,7 +417,7 @@ Common::String *World::loadStringFromDITL(Common::MacResManager *resMan, int res
 }
 
 static bool invComparator(const Obj *l, const Obj *r) {
-    return l->_index < r->_index;
+	return l->_index < r->_index;
 }
 
 void World::move(Obj *obj, Chr *chr) {
@@ -457,7 +457,7 @@ void World::move(Obj *obj, Scene *scene, bool skipSort) {
 }
 
 static bool chrComparator(const Chr *l, const Chr *r) {
-    return l->_index < r->_index;
+	return l->_index < r->_index;
 }
 
 void World::move(Chr *chr, Scene *scene, bool skipSort) {






More information about the Scummvm-git-logs mailing list