# HG changeset patch # User Jordan Miner # Date 1248927860 18000 # Node ID f9fea816b1fbf724ee74b42e9940ef0763c750b8 # Parent e0e8d450067cad7b4042b6c78c92520cef7725e4 Correct a comment and remove an unused variable. diff -r e0e8d450067c -r f9fea816b1fb dynamin/gui/layout.d --- 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;