Roxen.git/
server/
modules/
graphics/
graphic_text.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-03-18
2000-03-18 19:11:01 by Per Hedbor <ph@opera.com>
319decc78def86b1962e1654a6ab973810d7f1eb (
28
lines) (+
17
/-
11
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed a small bug
Rev: server/modules/graphics/graphic_text.pike:1.217
1:
// This is a roxen module. Copyright © 1996 - 2000, Roxen IS. //
-
constant cvs_version="$Id: graphic_text.pike,v 1.
216
2000/03/18 19:
04:
11 per Exp $";
+
constant cvs_version="$Id: graphic_text.pike,v 1.
217
2000/03/18 19:
11
:
01
per Exp $";
#include <module.h> inherit "module";
701:
"xspacing", "ypad", "ysize",
-
"yspacing"
+
"yspacing"
,
+
"border",
/* generic argcache arguments */ "crop",
726:
m_delete(arg,"width"); m_delete(arg,"height");
-
foreach(filearg, string tmp)
-
if(arg[tmp]) {
+
foreach(filearg
+ textarg
, string tmp)
+
if(arg[tmp])
+
{
p[tmp]=fix_relative(arg[tmp],id); m_delete(arg,tmp); }
-
if(arg->border && search(arg->border,",")) {
-
p->border=arg->border;
-
m_delete(arg,"border");
-
}
+
//
if(arg->border &&
(
search(arg->border,",")
!=-1
)
)
+
//
{
+
//
p->border=arg->border;
+
//
m_delete(arg,"border");
+
//
}
array i = indices( arg ); foreach(textarg, string tmp) foreach( glob( tmp, i ), string a ) {
-
+
werror("found "+a+" "+arg[a]+"\n");
p[a]=arg[a]; // ,id
-
+
i-=({a});
m_delete(arg,a); }