diff options
Diffstat (limited to 'stfreader.cc')
-rw-r--r-- | stfreader.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stfreader.cc b/stfreader.cc index 7d78635..09967cc 100644 --- a/stfreader.cc +++ b/stfreader.cc @@ -130,8 +130,8 @@ bool StfReader::parseV1(BitReader& br) pa = p1 - p0; } else { do_delta = true; - delta.setX(br.readBits(8)); - delta.setY(br.readBits(8)); + delta.setX(br.readSignedBits(8)); + delta.setY(br.readSignedBits(8)); } } else { do_delta = true; |