[Scummvm-cvs-logs] CVS: scummvm/gui ListWidget.cpp,1.47,1.48 newgui.cpp,1.109,1.110

Max Horn fingolfin at users.sourceforge.net
Sun May 8 14:51:55 CEST 2005


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28088/gui

Modified Files:
	ListWidget.cpp newgui.cpp 
Log Message:
Comply to our coding conventions

Index: ListWidget.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/ListWidget.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- ListWidget.cpp	17 Apr 2005 11:47:44 -0000	1.47
+++ ListWidget.cpp	8 May 2005 21:49:41 -0000	1.48
@@ -381,7 +381,7 @@
 }
 
 void ListWidget::endEditMode() {
-	if(!_editMode)
+	if (!_editMode)
 		return;
 	// send a message that editing finished with a return/enter key press
 	_editMode = false;

Index: newgui.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/newgui.cpp,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -d -r1.109 -r1.110
--- newgui.cpp	19 Apr 2005 20:35:47 -0000	1.109
+++ newgui.cpp	8 May 2005 21:49:41 -0000	1.110
@@ -75,7 +75,7 @@
 }
 
 void NewGui::updateScaleFactor() {
-	if(!_scaleEnable) {
+	if (!_scaleEnable) {
 		_scaleFactor = 1;
 	} else {
 		enum {
@@ -477,9 +477,9 @@
 		if (ty + y < 0 || ty + y >= _screen.h)
 			continue;
 		for (int x = 0; x < 8 * _scaleFactor; x++) {
-			if(!(x % 2) && _scaleFactor != 1 && x != 0)
+			if (!(x % 2) && _scaleFactor != 1 && x != 0)
 				mask >>= 4;
-			else if(_scaleFactor == 1)
+			else if (_scaleFactor == 1)
 				mask >>= 4;
 
 			if (tx + x < 0 || tx + x >= _screen.w)





More information about the Scummvm-git-logs mailing list