aboutsummaryrefslogtreecommitdiff
path: root/src/info.c
diff options
context:
space:
mode:
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);