aboutsummaryrefslogtreecommitdiff
path: root/src/info.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2015-05-22 21:59:35 -0400
committerFranklin Wei <git@fwei.tk>2015-05-22 21:59:35 -0400
commit13ac2252200bc208a09c396f6629042f0e49c16a (patch)
treef56ead900ca7ecefe825d440fac161467139798b /src/info.c
parent2ad946d048a38a1e3ef3c49843f60444c7c661ae (diff)
downloadmarket-sim-13ac2252200bc208a09c396f6629042f0e49c16a.zip
market-sim-13ac2252200bc208a09c396f6629042f0e49c16a.tar.gz
market-sim-13ac2252200bc208a09c396f6629042f0e49c16a.tar.bz2
market-sim-13ac2252200bc208a09c396f6629042f0e49c16a.tar.xz
some fixes
Diffstat (limited to 'src/info.c')
-rw-r--r--src/info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/info.c b/src/info.c
index 9e93d25..4776540 100644
--- a/src/info.c
+++ b/src/info.c
@@ -25,8 +25,8 @@ void info_handler(struct player_t *player)
free(sym);
- output("Transaction history for '%s':\n", stock->symbol);
- horiz_line();
+ heading("Transaction history for '%s'", stock->symbol);
+
print_history(stock);
horiz_line();
output("Current price: $%llu.%02llu\n", stock->current_price.cents / 100, stock->current_price.cents % 100);