diff options
author | Akira TAGOH <akira@tagoh.org> | 2006-03-31 09:33:03 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2006-03-31 09:33:03 +0000 |
commit | 603a89e591efdc01ba06d030e8df361274a643c0 (patch) | |
tree | 92c3d8c64a83a960980a090f989ae0a29ebe4eda /devices | |
parent | a5d94a0ebd175e49c1260a7e838287a343afebc1 (diff) |
2006-03-31 Akira TAGOH <at@gclab.org>
* hieroglyph/hgvaluenode.h (HG_VALUE_GET_REAL_FROM_INTEGER):
add a macro.
Diffstat (limited to 'devices')
-rw-r--r-- | devices/cairo/hgdevice-cairo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/cairo/hgdevice-cairo.c b/devices/cairo/hgdevice-cairo.c index b1facba..90bbae3 100644 --- a/devices/cairo/hgdevice-cairo.c +++ b/devices/cairo/hgdevice-cairo.c @@ -357,7 +357,7 @@ _hg_cairo_device_real_stroke(HgDevice *device, for (i = 0; i < len; i++) { node = hg_array_index(render->dashline_pattern, i); if (HG_IS_VALUE_INTEGER (node)) { - d = (gdouble)HG_VALUE_GET_INTEGER (node); + d = HG_VALUE_GET_REAL_FROM_INTEGER (node); } else if (HG_IS_VALUE_REAL (node)) { d = HG_VALUE_GET_REAL (node); } else { |