Roxen.git/
server/
modules/
graphics/
graphic_text.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1999-05-25
1999-05-25 10:45:55 by Per Hedbor <ph@opera.com>
53a5ca9c6bc8a8645e173a60ad69133963a30adb (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
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)),