Fixed a bug in xlhtml.c that caused it not to compile.

This commit is contained in:
slidedraw 2002-04-17 22:26:18 +00:00
parent 9226ab470d
commit c83b6936e3
4 changed files with 5 additions and 3 deletions

View File

@ -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). */

2
configure vendored
View File

@ -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

View File

@ -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

View File

@ -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 */