~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/gui/widgets/tradetab.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
void TradeTab::handleInput(const std::string &msg)
42
42
{
43
 
    std::string str = "\302\202" + msg;
 
43
    std::string str("\302\202" + msg);
44
44
    ChatTab::handleInput(str);
45
45
}
46
46
 
47
 
void TradeTab::saveToLogFile(const std::string &msg)
 
47
void TradeTab::saveToLogFile(const std::string &msg) const
48
48
{
49
49
    if (chatLogger)
50
50
        chatLogger->log(std::string("#Trade"), std::string(msg));