Attempt to fix tell m-w
This commit is contained in:
@@ -29,7 +29,8 @@ all: $(BINDIR)/asciipasswd \
|
|||||||
$(BINDIR)/shopconv \
|
$(BINDIR)/shopconv \
|
||||||
$(BINDIR)/sign \
|
$(BINDIR)/sign \
|
||||||
$(BINDIR)/split \
|
$(BINDIR)/split \
|
||||||
$(BINDIR)/wld2html
|
$(BINDIR)/wld2html \
|
||||||
|
$(BINDIR)/webster
|
||||||
|
|
||||||
asciipasswd: $(BINDIR)/asciipasswd
|
asciipasswd: $(BINDIR)/asciipasswd
|
||||||
|
|
||||||
|
|||||||
@@ -57,10 +57,10 @@ void parse_webster_html(char *arg) {
|
|||||||
|
|
||||||
for ( ; get_line(infile, buf)!=0; ) {
|
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.
|
continue; // read until we hit the line with results in it.
|
||||||
|
|
||||||
p = buf+37;
|
p = buf+40;
|
||||||
|
|
||||||
if (strncmp(p, "<br>", 4) == 0)
|
if (strncmp(p, "<br>", 4) == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user