]> sigrok.org Git - pulseview.git/commit
View: Use max time to calculate label length, not offset_
authorSoeren Apel <redacted>
Sat, 15 Aug 2015 21:05:18 +0000 (23:05 +0200)
committerUwe Hermann <redacted>
Sun, 16 Aug 2015 16:54:18 +0000 (18:54 +0200)
commit1e124d4b75b7b6b6a87b93a4e175d669909c2e04
tree028c240d7f20c5d11d1af19c7c74fed3ff61e9e8
parentf4ebff5e030af58fdb60d5aa4bf076d2a42d187f
View: Use max time to calculate label length, not offset_

Using offset_ gives false results, in particular when
offset_ happens to be 0. With this fix, realistic values
are used for the label length calculation.
pv/view/view.cpp