aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frame.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 6f2c1e5..4a64e35 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -492,6 +492,10 @@ void add_image_para(struct frame *fr, SCBlock *scblock, const char *filename,
pnew->image_h = h;
pnew->height = h;
pnew->open = 0;
+ pnew->space[0] = 0.0;
+ pnew->space[1] = 0.0;
+ pnew->space[2] = 0.0;
+ pnew->space[3] = 0.0;
}