diff options
Diffstat (limited to 'Stars45/Layout.cpp')
-rw-r--r-- | Stars45/Layout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/Layout.cpp b/Stars45/Layout.cpp index 05c1eb2..ad4320f 100644 --- a/Stars45/Layout.cpp +++ b/Stars45/Layout.cpp @@ -110,7 +110,7 @@ Layout::DoLayout(ActiveWindow* panel) } } - return true; + return true; } // +--------------------------------------------------------------------+ @@ -232,7 +232,7 @@ const std::vector<float>& weight_y) { Clear(); - if (min_x.size() == weight_x.size() && + if (min_x.size() == weight_x.size() && min_y.size() == weight_y.size()) { for (auto iter = min_x.begin(); iter != min_x.end(); ++iter) |