Hide the CPS value if it's over 100

This commit is contained in:
Thomas Goyne 2014-04-22 12:35:41 -07:00
parent a30d6121fd
commit f83f8b73a0
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ public:
void Paint(wxDC &dc, int x, int y, const AssDialogue *d, const agi::Context *) const {
int cps = CPS(d);
if (cps < 0) return;
if (cps < 0 || cps > 100) return;
wxString str = std::to_wstring(cps);
wxSize ext = dc.GetTextExtent(str);