[stats] properly account refreshes #1455

pull/1458/head
nick black 4 years ago
parent 3929e7b23a
commit 192b82e931
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -70,7 +70,7 @@ void notcurses_stats_reset(notcurses* nc, ncstats* stats){
stash->bgemissions += nc->stats.bgemissions;
stash->defaultelisions += nc->stats.defaultelisions;
stash->defaultemissions += nc->stats.defaultemissions;
stash->refreshes = nc->stats.refreshes;
stash->refreshes += nc->stats.refreshes;
stash->fbbytes = nc->stats.fbbytes;
stash->planes = nc->stats.planes;
reset_stats(&nc->stats);

Loading…
Cancel
Save