changeset 37:f9fea816b1fb

Correct a comment and remove an unused variable.
author Jordan Miner <jminer7@gmail.com>
date Wed, 29 Jul 2009 23:24:20 -0500
parents e0e8d450067c
children 69df5369c5f7
files dynamin/gui/layout.d
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dynamin/gui/layout.d	Mon Jul 27 01:36:17 2009 -0500
+++ b/dynamin/gui/layout.d	Wed Jul 29 23:24:20 2009 -0500
@@ -57,7 +57,7 @@
 struct LayoutGroup {
 	LayoutType type;
 	LayoutGroup* parent;
-	LayoutGroup[] children; // used if type == LayoutType.Horiz or Vert or Table
+	LayoutGroup[] children; // used if type == LayoutType.Table
 	Control control;        // used if type == LayoutType.Control
 	int numColumns;         // used if type == LayoutType.Table
 	int numRows() { return children.length / numColumns; }
@@ -264,7 +264,7 @@
 		assert(colsInfo.length == numColumns);
 		assert(rowsInfo.length == numRows);
 
-		real max = 0, temp;
+		real max = 0;
 		LayoutGroup* l;
 
 		int sp = 0;