projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03db9d6
)
Avoid crash rendering charts in the gui interface.
author
John Darrington
<john@darrington.wattle.id.au>
Thu, 5 Jan 2012 19:11:54 +0000
(20:11 +0100)
committer
John Darrington
<john@darrington.wattle.id.au>
Thu, 5 Jan 2012 19:11:54 +0000
(20:11 +0100)
Reported-by: Nick Macdonald <nick@nickmacdonald.net>
Provisionally Reviewed-by: Ben Pfaff <blp@gnu.org>
src/output/cairo.c
patch
|
blob
|
history
diff --git
a/src/output/cairo.c
b/src/output/cairo.c
index 1de46b25bbe9ce7f7fbe3ee92ea3aae6563bb8ee..8156016cd415bd33fe97ed4176ed91e3d6299aab 100644
(file)
--- a/
src/output/cairo.c
+++ b/
src/output/cairo.c
@@
-1015,6
+1015,8
@@
xr_rendering_create (struct xr_driver *xr, const struct output_item *item,
{
r = xzalloc (sizeof *r);
r->item = output_item_ref (item);
+ r->xr = xr;
+ xr_set_cairo (xr, cr);
}
return r;