Skip to content

Commit

Permalink
Don't switch to displaying '-----' after price data timeout by defaul…
Browse files Browse the repository at this point in the history
…t (can be overriden by server)
  • Loading branch information
Jan Dvořák committed Dec 20, 2018
1 parent 9afa1fc commit 204af42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display_action_price.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PriceAction : public ActionT
public:
PriceAction(const double animation_speed, const Coords& coords=Coords{0,0})
: ActionT(-1, coords), m_animation_speed(animation_speed), m_price(""), m_last_price(""),
m_displayed_price(""), m_ath_price(""), m_price_timeout(300.0), m_display_float_part(false),
m_displayed_price(""), m_ath_price(""), m_price_timeout(0), m_display_float_part(false),
m_price_timeout_reported(false), m_ath(true)
{}

Expand Down

0 comments on commit 204af42

Please sign in to comment.