diff options
author | Thomas White <taw@physics.org> | 2017-11-19 17:39:10 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-11-19 17:39:10 +0100 |
commit | c004ac64c5a220a81339ed75563328f045cdb0cf (patch) | |
tree | 814710f5f1555bc776a6c9c0224aa4427258e084 | |
parent | e2329566e6d56898fa68cf5269fed82db43d68dd (diff) |
Initialise image para space to zero
-rw-r--r-- | src/frame.c | 4 |
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; } |