From e2fa0166aa8cb791e2e7d8b47adb6e07cbfcc549 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 27 May 2002 20:05:33 +0000 Subject: Fixing LZSS name. --- dteutils.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'dteutils.cpp') 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) { -- cgit v1.2.3