summaryrefslogtreecommitdiffstats
path: root/print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c
blob: 5526dceaa446c3ea5513c3dc3074c924606984d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- libgnomeprint/gnome-print-meta.c.orig   Wed Oct 29 00:53:15 2003
+++ libgnomeprint/gnome-print-meta.c    Wed Oct 29 01:06:23 2003
@@ -312,6 +312,7 @@
    gpm_encode_int (pc, w);
    gpm_encode_int (pc, ch);
 
+   gpm_ensure_space(pc, w * ch * h);
    for (y = 0; y < h; y++){
        gpm_encode_block (pc, px, w * ch);
        px += rowstride;