Removed trailing spaces

This commit is contained in:
Hendrik Leppkes
2008-09-02 16:55:22 +02:00
parent e018043a97
commit c7c303ae3c
13 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -106,8 +106,8 @@ function ButtonBar:UpdateButtonLayout()
local Rows = self:GetRows()
local ButtonPerRow = math_floor(numbuttons / Rows + 0.5) -- just a precaution
Rows = math_floor(numbuttons / ButtonPerRow + 0.5)
if Rows > numbuttons then
Rows = numbuttons
if Rows > numbuttons then
Rows = numbuttons
ButtonPerRow = 1
end