Branch: Tag:

1997-12-19

1997-12-19 17:41:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug.

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

1: - constant cvs_version="$Id: graphic_text.pike,v 1.93 1997/12/17 00:51:51 grubba Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.94 1997/12/19 17:41:37 grubba Exp $";   constant thread_safe=1;      #include <module.h>
1367:    else    id->misc->colors += ({ ({ defines->fg, defines->bg, tagname }) });   #undef FIX - #define FIX(X,Y) if(args->X){defines->Y=args->X;if(args->X[0]!='#'){args->X=ns_color(parse_color(args->X));changed = 1;}} + #define FIX(X,Y) if(args->X && args->X!=""){defines->Y=args->X;if(args->X[0]!='#'){args->X=ns_color(parse_color(args->X));changed = 1;}}       FIX(bgcolor,bg);    FIX(text,fg);