Roxen.git/
server/
modules/
graphics/
gbutton.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-01-12
2001-01-12 16:16:10 by Anders Johansson <anders@roxen.com>
a193a80d8f42eae0a1e09226cd1b4a5103edfb14 (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
2.1
Fixes [Bug
1015 (#1015)
].
Rev: server/modules/graphics/gbutton.pike:1.68
25:
// must also be aligned left or right.
-
constant cvs_version = "$Id: gbutton.pike,v 1.
67
2000
/
12
/
05
00
:
25
:
27
nilsson
Exp $";
+
constant cvs_version = "$Id: gbutton.pike,v 1.
68
2001
/
01/
12
16
:
16
:
10
anders
Exp $";
constant thread_safe = 1; #include <module.h>
798:
if (img_align) img_attrs->align = img_align;
-
if (mapping size = button_cache->metadata(new_args, id, 1)) {
+
if (mapping size = button_cache->metadata(
({
new_args,
content }),
+
id, 1)) {
// Image in cache (1 above prevents generation on-the-fly, i.e. // first image will lack sizes). img_attrs->width = size->xsize;