Attempt to fix tell m-w

This commit is contained in:
JamDog
2010-11-04 12:36:24 +00:00
parent 062a5d4eb4
commit 7f6196c1be
2 changed files with 29 additions and 28 deletions

View File

@@ -29,7 +29,8 @@ all: $(BINDIR)/asciipasswd \
$(BINDIR)/shopconv \
$(BINDIR)/sign \
$(BINDIR)/split \
$(BINDIR)/wld2html
$(BINDIR)/wld2html \
$(BINDIR)/webster
asciipasswd: $(BINDIR)/asciipasswd

View File

@@ -57,10 +57,10 @@ void parse_webster_html(char *arg) {
for ( ; get_line(infile, buf)!=0; ) {
if (strncmp(buf, "<script>write_ads(AdsNum, 0)</script>", 37) != 0)
if (strncmp(buf, "<script>write_ads(AdsNum, 0, 1)</script>", 40) != 0)
continue; // read until we hit the line with results in it.
p = buf+37;
p = buf+40;
if (strncmp(p, "<br>", 4) == 0)
{