Skip to content

Commit

Permalink
use <= instead of == to catch 0
Browse files Browse the repository at this point in the history
Signed-off-by: Vlad Arama <vlad.arama@ericsson.com>
  • Loading branch information
vladarama authored and MatthewKhouzam committed Mar 28, 2024
1 parent 0c0d4f5 commit 2745b18
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -610,7 +610,7 @@ private void setNewRange(long startTime, long duration) {
realStart = fTraceStartTime;
}

if (duration == 1) {
if (duration <= 1) {
fTimeSpanControl.setValue(fWindowSpan);
return;
}
Expand Down

0 comments on commit 2745b18

Please sign in to comment.