(svn r26116) -Codechange: validate that the number of lines in a graph is more than 0

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 11 years ago
parent 77e5b1e3b2
commit 04e97a0bec

@ -200,6 +200,8 @@ protected:
*/
ValuesInterval GetValuesInterval(int num_hori_lines) const
{
assert(num_hori_lines > 0);
ValuesInterval current_interval;
current_interval.highest = INT64_MIN;
current_interval.lowest = INT64_MAX;

Loading…
Cancel
Save