diff --git a/config.h.in b/config.h.in index e339b2e..cea458d 100644 --- a/config.h.in +++ b/config.h.in @@ -51,6 +51,8 @@ /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Version number of package */ +#undef VERSION /* Define if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ diff --git a/configure b/configure index 953a891..6378b45 100755 --- a/configure +++ b/configure @@ -1180,7 +1180,7 @@ fi PACKAGE=xlhtml/xlhtml -VERSION=0.4.9.3 +VERSION=0.5 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:1186: error: source directory already configured; run \"make distclean\" there first" >&5 diff --git a/xlhtml/Makefile.in b/xlhtml/Makefile.in index 3728f50..1a8ad8c 100644 --- a/xlhtml/Makefile.in +++ b/xlhtml/Makefile.in @@ -82,7 +82,7 @@ noinst_SCRIPTS = xls-handler gpdemo man_MANS = xlhtml.1 bin_SCRIPTS = nsopen nsxlview bin_PROGRAMS = xlhtml -LDADD = ../cole/libcole.a +LDADD = ../cole/libcole.a -lm xlhtml_SOURCES = support.c xlhtml.c html.c ascii.c xml.c xldump_SOURCES = xldump.c xlcdump_SOURCES = xlcdump.c diff --git a/xlhtml/xlhtml.c b/xlhtml/xlhtml.c index 95fb5fe..712be8c 100644 --- a/xlhtml/xlhtml.c +++ b/xlhtml/xlhtml.c @@ -770,7 +770,7 @@ void main_line_processor(U16 opcode, U16 version, U32 count, U16 last, U8 data) switch (opcode) { - case 0x02: /* File is password protected */ + case 0x2F: /* File is password protected */ printf("File is password protected. Exiting..."); exit(1); case 0x09: /* BOF */