summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index d16388837..8ad6fff2e 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -345,7 +345,8 @@ void AvatarListBox::mousePressed(gcn::MouseEvent &event)
Avatar *ava = model->getAvatarAt(selected);
if (map && ava)
{
- MapItem *mapItem = map->findPortalXY(ava->getX(), ava->getY());
+ MapItem *mapItem = map->findPortalXY(
+ ava->getX(), ava->getY());
viewport->showPopup(mapItem);
}
break;