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

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