src/window.cpp
branchcpp_gui
changeset 6308 646711c5feaa
parent 6307 f40e88cff863
--- a/src/window.cpp	Sun Apr 15 17:04:44 2007 +0000
+++ b/src/window.cpp	Sat Apr 21 08:23:57 2007 +0000
@@ -986,7 +986,7 @@
 		const BaseWindow *v = (*vit).w;
 		int x;
 
-		if (right  > v->Left() &&
+		if (right > v->Left() &&
 				bottom > v->Top() &&
 				left < v->Left() + v->Width() &&
 				top  < v->Top() + v->Height()) {
@@ -996,19 +996,19 @@
 				return;
 			}
 
-			if (right > (x=v->Left() + v->Width())) {
+			if (right > (x = v->Left() + v->Width())) {
 				DrawOverlappedWindow(wit, left, top, x, bottom);
 				DrawOverlappedWindow(wit, x, top, right, bottom);
 				return;
 			}
 
-			if (top < (x=v->Top())) {
+			if (top < (x = v->Top())) {
 				DrawOverlappedWindow(wit, left, top, right, x);
 				DrawOverlappedWindow(wit, left, x, right, bottom);
 				return;
 			}
 
-			if (bottom > (x=v->Top() + v->Height())) {
+			if (bottom > (x = v->Top() + v->Height())) {
 				DrawOverlappedWindow(wit, left, top, right, x);
 				DrawOverlappedWindow(wit, left, x, right, bottom);
 				return;
@@ -1606,7 +1606,7 @@
 /** Update all the widgets of a window based on their resize flags
  * Both the areas of the old window and the new sized window are set dirty
  * ensuring proper redrawal.
- * @param x delta x-size of changed window (positive if larger, etc.(
+ * @param x delta x-size of changed window (positive if larger, etc.)
  * @param y delta y-size of changed window */
 void BaseWindow::Resize(int x, int y)
 {