aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-11-29 13:20:54 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-11-29 13:20:54 +0000
commit66849ac23696a0ad2795f25cfeb8b8b190227bbf (patch)
tree0e2ef1a8bd0db24463cef988037ca96c3607af45
parentMerge pull request #501 (diff)
downloadmonero-66849ac23696a0ad2795f25cfeb8b8b190227bbf.tar.xz
simplewallet: swap colors in show_transfers
Green is now used for incoming transfers, and magenta for outgoing transfers. This is consistent to the scheme used by other logging.
Diffstat (limited to '')
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 2d99b3da0..b1755ed62 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -2122,7 +2122,7 @@ bool simple_wallet::show_transfers(const std::vector<std::string> &args_)
// print in and out sorted by height
for (std::map<uint64_t, std::pair<bool, std::string>>::const_iterator i = output.begin(); i != output.end(); ++i) {
- message_writer(i->second.first ? epee::log_space::console_color_magenta : epee::log_space::console_color_green, false) <<
+ message_writer(i->second.first ? epee::log_space::console_color_green : epee::log_space::console_color_magenta, false) <<
boost::format("%8.8llu %6.6s %s") %
((unsigned long long)i->first) % (i->second.first ? tr("in") : tr("out")) % i->second.second;
}