aboutsummaryrefslogtreecommitdiffstats
path: root/fig0_2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fig0_2.cpp')
-rw-r--r--fig0_2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/fig0_2.cpp b/fig0_2.cpp
index 95e6268..27f01ac 100644
--- a/fig0_2.cpp
+++ b/fig0_2.cpp
@@ -62,6 +62,7 @@ bool fig0_2(fig0_common_t& fig0, int indent)
while (k < fig0.figlen) {
if (fig0.pd() == 0) {
sid = f[k] * 256 + f[k+1];
+ ecc = 0;
cid = (f[k] & 0xF0) >> 4;
sref = (f[k] & 0x0F) * 256 + f[k+1];
k += 2;