Modified xlhtml.c so that when converting password protected files,

xlhtml aborts with an error message.
This commit is contained in:
slidedraw 2002-04-17 22:14:03 +00:00
parent 0e2899d1e0
commit 9226ab470d

View File

@ -770,6 +770,9 @@ void main_line_processor(U16 opcode, U16 version, U32 count, U16 last, U8 data)
switch (opcode)
{
case 0x02: /* File is password protected */
printf("File is password protected. Exiting...");
exit(1);
case 0x09: /* BOF */
working_buffer[bufidx++] = data;
if (bufidx == last)