diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2005-02-28 21:16:18 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-02-28 21:16:18 (GMT) |
commit | b8c051af87516e02b145cff0a3ecf09a94710dff (patch) | |
tree | d0a758faaf6124bd110004e1e0a63130ae89cb61 /ps | |
parent | 89b6bfaf7d20229ba9814d7d84076f7c91d99bd2 (diff) |
If there is no bpixmap create one, even if size is not changed.
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (set_up_page):
If there is no bpixmap create one, even if size
is not changed.
Diffstat (limited to 'ps')
-rw-r--r-- | ps/ps-document.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ps/ps-document.c b/ps/ps-document.c index d78ad74..c0eb794 100644 --- a/ps/ps-document.c +++ b/ps/ps-document.c @@ -505,7 +505,7 @@ set_up_page(PSDocument * gs) orientation = ps_document_get_orientation(gs); - if(size_changed) { + if (size_changed || gs->bpixmap == NULL) { gdk_flush(); /* clear new pixmap (set to white) */ |