Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/buymenu.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/buymenu.cc b/src/client/buymenu.cc
index d12f23e..7fad916 100644
--- a/src/client/buymenu.cc
+++ b/src/client/buymenu.cc
@@ -34,7 +34,7 @@ BuyMenu::BuyMenu(ui::Widget *parent, const char * label) : ui::Window(parent)
menu_modelview->set_background(false);
menu_modelview->set_border(false);
- menu_closebutton = new ui::Button(menu_modelpane, "Close", "view hide");
+ menu_closebutton = new ui::Button(menu_modelpane, "Return", "view hide");
// text pane (right)
menu_textpane = new ui::Window(this);
@@ -76,14 +76,14 @@ void BuyMenu::set_item(std::string const & itemtype, std::string const & itemnam
menu_itemname.assign(itemname);
aux::to_label(menu_itemname);
- menu_buybutton->set_command("remote buy " + itemtype + ' ' + itemname + "; view hide");
- menu_buybutton->set_label("buy " + itemname);
+ menu_buybutton->set_command("remote buy " + menu_itemtype + ' ' + menu_itemname + "; view hide");
+ menu_buybutton->set_label("buy " + menu_itemname);
menu_infotext.clear();
menu_namelabel->set_text(0);
menu_modelview->set_modelname(0);
- core::Info *info = core::game()->info(itemtype + '/' + itemname);
+ core::Info *info = core::game()->info(menu_itemtype, menu_itemname);
if (info) {
menu_namelabel->set_text(info->name());
menu_modelview->set_modelname(info->modelname());