Branch: Tag:

2002-01-21

2002-01-21 17:53:03 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug where image sizes got wrong for newly generated images when using
the split attribute. Fixes [bug 2695 (#2695)].

Rev: server/modules/graphics/graphic_text.pike:1.288

1:   // This is a roxen module. Copyright © 1996 - 2001, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.287 2002/01/11 09:49:21 grubba Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.288 2002/01/21 17:53:03 mast Exp $";      #include <module.h>   inherit "module";
1075:    arg->width = (string)size->xsize;    arg->height = (string)size->ysize;    } +  else { +  m_delete (arg, "width"); +  m_delete (arg, "height"); +  }    res+=Roxen.make_tag( "img", arg, xml )+" ";    }    return sprintf(lp,res);