summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropdown.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-10 05:15:20 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-10 05:16:03 -0600
commit9e7dfd7397ed2c282015f4cc13c42598b6bb1f39 (patch)
treea3a947453d47b1588ca4c6cec730054066f4748b /src/gui/widgets/dropdown.cpp
parent881f3c693e2ac4d17f2e7109a809d1bd4c2f62c6 (diff)
downloadmana-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.tar.gz
mana-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.tar.bz2
mana-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.tar.xz
mana-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.zip
Remove some tabs and trailing whitespace
Diffstat (limited to 'src/gui/widgets/dropdown.cpp')
-rw-r--r--src/gui/widgets/dropdown.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp
index eef9ae33..e1a24cb7 100644
--- a/src/gui/widgets/dropdown.cpp
+++ b/src/gui/widgets/dropdown.cpp
@@ -78,10 +78,10 @@ DropDown::DropDown(gcn::ListModel *listModel, gcn::ScrollArea *scrollArea,
{
for (x = 0; x < 3; x++)
{
- skin.grid[a] = boxBorder->getSubImage(gridx[x], gridy[y],
- gridx[x + 1] -
+ skin.grid[a] = boxBorder->getSubImage(gridx[x], gridy[y],
+ gridx[x + 1] -
gridx[x] + 1,
- gridy[y + 1] -
+ gridy[y + 1] -
gridy[y] + 1);
skin.grid[a]->setAlpha(mAlpha);
a++;