diff options
author | Alex Cherepanov <alex.cherepanov@artifex.com> | 2009-01-18 19:57:58 +0000 |
---|---|---|
committer | Alex Cherepanov <alex.cherepanov@artifex.com> | 2009-01-18 19:57:58 +0000 |
commit | b33fa65ffecb7a2085bb987db70dd845ef5b674c (patch) | |
tree | 25a19bd46b3476ee241bfb30eb1b064709858397 | |
parent | a8c3bbd13635ee3469c74dbe812a7301641dbdb4 (diff) |
Fix SEGV in 'inferno' device caused by insufficient memory allocation. Pass
correct device type to prn_device_body() macro. thanks to Wendy for the patch.
DIFFERENCES:
None, not covered by the test.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9372 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r-- | gs/base/gdevifno.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/gdevifno.c b/gs/base/gdevifno.c index bd875a71f..d5cec6682 100644 --- a/gs/base/gdevifno.c +++ b/gs/base/gdevifno.c @@ -81,7 +81,7 @@ static const gx_device_procs inferno_procs = inferno_device far_data gs_inferno_device = -{ prn_device_body(gx_device_printer, inferno_procs, "inferno", +{ prn_device_body(inferno_device, inferno_procs, "inferno", DEFAULT_WIDTH_10THS, DEFAULT_HEIGHT_10THS, X_DPI, Y_DPI, 0,0,0,0, /* margins */ |