projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b513107
)
view.cpp: Drop unneeded parenthesis.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 1 Apr 2018 17:52:36 +0000
(19:52 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 1 Apr 2018 17:52:36 +0000
(19:52 +0200)
pv/views/trace/view.cpp
patch
|
blob
|
history
diff --git
a/pv/views/trace/view.cpp
b/pv/views/trace/view.cpp
index 5b2a2ef40b98f1f0aec84aee3f086606bcbbcd16..8922922aa1c1e939f747b15327545acc84c6379e 100644
(file)
--- a/
pv/views/trace/view.cpp
+++ b/
pv/views/trace/view.cpp
@@
-952,7
+952,7
@@
void View::calculate_tick_spacing()
(ScaleUnits[unit++] + tp_margin);
} while (tp_with_margin < min_period && unit < countof(ScaleUnits));
- minor_tick_count_ = (unit == 2) ?
(4) : (5)
;
+ minor_tick_count_ = (unit == 2) ?
4 : 5
;
tick_period = order_decimal * ScaleUnits[unit - 1];
tick_prefix = static_cast<pv::util::SIPrefix>(
(order - pv::util::exponent(pv::util::SIPrefix::yocto)) / 3);