diff options
Diffstat (limited to 'dteutils.cpp')
-rw-r--r-- | dteutils.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dteutils.cpp b/dteutils.cpp index 2759dc5..e740abf 100644 --- a/dteutils.cpp +++ b/dteutils.cpp @@ -161,16 +161,17 @@ void dte_reset(void) { void build_dte(void) { int i; unsigned short t, t2; -// unsigned short p = 0; + unsigned short p = 0; for (i = 0; i < dte_text_size; i++) { t = *((unsigned short *) (dte_text + i)); t2 = *((unsigned short *) (dte_text + i + 1)); -/* if (t == p) { + if (t == p) { p = 0; continue; } - p = t; */ + p = t; +// if (!dte_flags[t]) { if ((!dte_flags[t]) && (dte_flags[t2] != 3)) { dte_counters[t]++; if (dte_counters[t] > dte_counter) { |