Branch: Tag:

1997-11-11

1997-11-11 22:17:54 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

doc update and header file _error_ messages if handled wrong

Rev: src/modules/Image/colortable.h:1.10
Rev: src/modules/Image/doc-header:1.3
Rev: src/modules/Image/encodings/gif.c:1.18
Rev: src/modules/Image/encodings/gif.h:1.2(DEAD)
Rev: src/modules/Image/font.c:1.21
Rev: src/modules/Image/image.h:1.13
Rev: src/modules/Image/mkwmml.pike:1.5
Rev: src/modules/Image/togif.c:1.27

1: - /* $Id: mkwmml.pike,v 1.4 1997/11/10 14:19:56 mirar Exp $ */ + /* $Id: mkwmml.pike,v 1.5 1997/11/11 22:17:50 mirar Exp $ */      import Stdio;   import Array;
208:   {    s=stripws(s);    -  string t,u,v; +  string t,u,v,q;       t=s; s="";    while (sscanf(t,"%s<ref>%s</ref>%s",t,u,v)==3)
219:    s+=t;       t=s; s=""; -  while (sscanf(t,"%s<illustration>%s</illustration>%s",t,u,v)==3) +  while (sscanf(t,"%s<illustration%s>%s</illustration>%s",t,q,u,v)==4)    {    s+=htmlify(replace(t,"\n\n","\n\n<p>"));    -  s+="<illustration __from__='"+where+"' src=lena.gif>\n" +  s+="<illustration __from__='"+where+"' src=lena.gif"+q+">\n"    +replace(u,"lena()","src")+"</illustration>";       t=v;