summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/browserbox.cpp2
-rw-r--r--src/net/ea/inventoryhandler.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index a1e5b07a..52b9bfa6 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -344,8 +344,8 @@ void BrowserBox::draw(gcn::Graphics *graphics)
mLinks[link].x2 = mLinks[link].x1 + size;
mLinks[link].y2 = y + font->getHeight();
link++;
- selColor = col;
prevColor = selColor;
+ selColor = col;
}
else if (valid)
{
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 6e707bf9..17b64548 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -190,8 +190,8 @@ void InventoryHandler::handleMessage(MessageIn &msg)
if (config.getValue("showpickupchat", 1))
{
- localChatTab->chatLog(strprintf(_("You picked up %s [%s]"),
- amountStr.c_str(), itemInfo.getName().c_str()),
+ localChatTab->chatLog(strprintf(_("You picked up %s [@@%d|%s@@]"),
+ amountStr.c_str(), itemInfo.getId(), itemInfo.getName().c_str()),
BY_SERVER);
}