Fix line numbers in binary STL files.
authorCarl Hetherington <cth@carlh.net>
Thu, 3 Jun 2021 19:08:37 +0000 (21:08 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 3 Jun 2021 19:08:37 +0000 (21:08 +0200)
commitf3d7335ca4229a520f78906277693451cef8dce7
tree39ff804ab9b9aa7d07e9274c1584ad08e9f04381
parent046ce2e8d22ea384dc7e1e4545bede6fd859d9c3
Fix line numbers in binary STL files.

Here we make sure that line numbers end up not larger than the
MNR (maximum number of rows) to try to avoid subtitles going
off the screen.
src/stl_binary_reader.cc
test/stl_binary_reader_test.cc