aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Kellermann2018-08-28 13:29:40 -0400
committerAntony Kellermann2018-08-28 13:29:40 -0400
commit5e1ee1dba10d7df33a65f681d25a1e16d02d39e8 (patch)
treed3658086d2c37198c5ad7f5801f02c4929740808
parent94b58a1df5c69b425d7bd1ad16633a54fbaa749c (diff)
downloadaur-5e1ee1dba10d7df33a65f681d25a1e16d02d39e8.tar.gz
Fixed bug using cash instead of marketcap
-rw-r--r--gtk_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk_win.c b/gtk_win.c
index f95eaf8b0284..6a4861a41802 100644
--- a/gtk_win.c
+++ b/gtk_win.c
@@ -495,7 +495,7 @@ void info_pane_populate_company(const Info* pInfo) {
volume[32], div_yield[32];
sprintf(revenue, "%ld", pInfo->revenue);
sprintf(cash, "%ld", pInfo->cash);
- sprintf(marketcap, "%ld", pInfo->cash);
+ sprintf(marketcap, "%ld", pInfo->marketcap);
sprintf(pe_ratio, "%lf", pInfo->pe_ratio);
sprintf(gross_profit, "%ld", pInfo->gross_profit);
sprintf(debt, "%ld", pInfo->debt);