summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 4129cc981..7a1645148 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -578,7 +578,7 @@ void InventoryWindow::mouseClicked(gcn::MouseEvent &event)
void InventoryWindow::mouseMoved(gcn::MouseEvent &event)
{
Window::mouseMoved(event);
- gcn::Widget *const src = event.getSource();
+ const gcn::Widget *const src = event.getSource();
if (src == mSlotsBar || src == mWeightBar)
{
const int x = event.getX();