kopia lustrzana https://gitlab.com/tomaszg/geostat
Correct off-by-one error in histogram html generation
rodzic
0c67ff047c
commit
fe6f540bd7
|
@ -73,7 +73,7 @@ void show_histogram(const Caches& cc, std::string Cache::*ptr, const std::string
|
|||
std::cout << ", " << own.first << " (" << own.second << ")";
|
||||
i++;
|
||||
}
|
||||
if (i < HIST_MAX)
|
||||
if (i <= HIST_MAX)
|
||||
std::cout << "</div>\n";
|
||||
else
|
||||
std::cout << "</p></details>\n";
|
||||
|
|
Ładowanie…
Reference in New Issue