summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Kamppeter <till.kamppeter@gmail.com>2009-01-05 10:34:13 +0000
committerTill Kamppeter <till.kamppeter@gmail.com>2009-01-05 10:34:13 +0000
commitb631b0b370d8cf3ae757daeed2e9c9cd17eec7d6 (patch)
tree1b705368d2996f17be294378828882dc11469ac0
parentbed07c0c470afdba8438488c4fcd776b805cf7d6 (diff)
Accidentally committed an obsolete patch. Reverted.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9324 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r--gs/base/gdevxini.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gs/base/gdevxini.c b/gs/base/gdevxini.c
index 9c2ce5ee3..6389ab1db 100644
--- a/gs/base/gdevxini.c
+++ b/gs/base/gdevxini.c
@@ -903,10 +903,7 @@ gdev_x_put_params(gx_device * dev, gs_param_list * plist)
dev->is_open = false;
xdev->IsPageDevice = values.IsPageDevice;
code = gx_default_put_params(dev, plist);
- /* Prevent us from preventing the device closure if the size changed;
- * that may require us to rebuild the buffer (see x_set_buffer). */
- if (xdev->width == values.width && xdev->height == values.height)
- dev->is_open = values.is_open; /* saved value */
+ dev->is_open = values.is_open; /* saved value */
if (code < 0) { /* Undo setting of .IsPageDevice */
xdev->IsPageDevice = save_is_page;
return code;