Branch: Tag:

1999-05-25

1999-05-25 10:45:55 by Per Hedbor <ph@opera.com>

Fixed textbox=foo%

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

1: - constant cvs_version="$Id: graphic_text.pike,v 1.177 1999/05/25 09:51:27 per Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.178 1999/05/25 10:45:55 per Exp $";   constant thread_safe=1;      #include <config.h>
408:    {    int alpha,border;    string bg; -  sscanf(args->textbox, "%d,%s", alpha, bg); +  alpha = (int)args->textbox; +  sscanf(args->textbox, "%*[^,],%s", bg);    sscanf(bg,"%s,%d", bg,border);    background->paste_alpha(Image.image(txsize+border*2,tysize+border*2,    @parse_color(bg)),