diff --git a/pandatool/src/win-stats/winStatsGraph.cxx b/pandatool/src/win-stats/winStatsGraph.cxx index 7b753a159f..7db69cda00 100644 --- a/pandatool/src/win-stats/winStatsGraph.cxx +++ b/pandatool/src/win-stats/winStatsGraph.cxx @@ -156,7 +156,7 @@ set_time_units(int unit_mask) { // Function: WinStatsGraph::set_scroll_speed // Access: Public // Description: Called when the user selects a new scroll speed from -// the moniotr pulldown menu, this should adjust the +// the monitor pulldown menu, this should adjust the // speed for the graph to the indicated value. //////////////////////////////////////////////////////////////////// void WinStatsGraph:: diff --git a/pandatool/src/win-stats/winStatsStripChart.cxx b/pandatool/src/win-stats/winStatsStripChart.cxx index 59f7a00e18..049b6312bb 100644 --- a/pandatool/src/win-stats/winStatsStripChart.cxx +++ b/pandatool/src/win-stats/winStatsStripChart.cxx @@ -142,11 +142,12 @@ set_time_units(int unit_mask) { // Function: WinStatsStripChart::set_scroll_speed // Access: Public // Description: Called when the user selects a new scroll speed from -// the moniotr pulldown menu, this should adjust the +// the monitor pulldown menu, this should adjust the // speed for the graph to the indicated value. //////////////////////////////////////////////////////////////////// void WinStatsStripChart:: set_scroll_speed(float scroll_speed) { + // The speed factor indicates chart widths per minute. if (scroll_speed != 0.0f) { set_horizontal_scale(60.0f / scroll_speed); }