[chronojump] Fixed trigger with trimInitialZeros
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed trigger with trimInitialZeros
- Date: Fri, 3 Mar 2017 10:38:18 +0000 (UTC)
commit 37d4dfc69f74f7eaa3a53612ee0533891be17975
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Mar 3 11:36:38 2017 +0100
Fixed trigger with trimInitialZeros
src/encoderCapture.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/encoderCapture.cs b/src/encoderCapture.cs
index 55fb01f..6ff0ee0 100644
--- a/src/encoderCapture.cs
+++ b/src/encoderCapture.cs
@@ -656,6 +656,8 @@ public abstract class EncoderCapture
{
l.RemoveRange(0, count-allowedZeroMSAtStart);
} // else: not enough zeros at start, don't need to trim
+
+ boolMsList.Substract(count-allowedZeroMSAtStart);
return l;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]