diff --git a/com.trollworks.gcs/src/com/trollworks/gcs/character/PageAssembler.java b/com.trollworks.gcs/src/com/trollworks/gcs/character/PageAssembler.java index 28596c50c..91f9f3783 100644 --- a/com.trollworks.gcs/src/com/trollworks/gcs/character/PageAssembler.java +++ b/com.trollworks.gcs/src/com/trollworks/gcs/character/PageAssembler.java @@ -122,7 +122,7 @@ public boolean addToContent(Container panel, OutlineInfo leftInfo, OutlineInfo r if (rightHeight < minRight) { rightHeight = minRight; } - mRemaining -= leftHeight < rightHeight ? rightHeight : leftHeight; + mRemaining -= Math.max(leftHeight, rightHeight); hasMore = leftInfo.hasMore() || rightInfo.hasMore(); } if (hasMore) { diff --git a/com.trollworks.gcs/src/com/trollworks/gcs/character/SingleOutlinePanel.java b/com.trollworks.gcs/src/com/trollworks/gcs/character/SingleOutlinePanel.java index 3e1d6ba4d..9fd82c451 100644 --- a/com.trollworks.gcs/src/com/trollworks/gcs/character/SingleOutlinePanel.java +++ b/com.trollworks.gcs/src/com/trollworks/gcs/character/SingleOutlinePanel.java @@ -14,7 +14,6 @@ import com.trollworks.gcs.page.DropPanel; import com.trollworks.gcs.ui.scale.Scale; import com.trollworks.gcs.ui.widget.outline.Column; -import com.trollworks.gcs.ui.widget.outline.ColumnUtils; import com.trollworks.gcs.ui.widget.outline.Outline; import com.trollworks.gcs.ui.widget.outline.OutlineHeader; import com.trollworks.gcs.ui.widget.outline.OutlineModel;