diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-06 11:23:41 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-06 11:23:41 (GMT) |
| commit | 7294e0685a4b74576c3c915dc0a93a0a4e6e11dd (patch) | |
| tree | a4e038be03ac7964d769e1a6748e9f9c15e2b00c /src | |
| parent | fc3bc43ba6ce8ddb9941f9461759a2eca83e5846 (diff) | |
| download | powder-7294e0685a4b74576c3c915dc0a93a0a4e6e11dd.zip powder-7294e0685a4b74576c3c915dc0a93a0a4e6e11dd.tar.gz | |
Ensure an array terminator is only written if the signs array actually exists.
Diffstat (limited to 'src')
| -rw-r--r-- | src/save.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -802,8 +802,8 @@ void *build_save_OPS(int *size, int orig_x0, int orig_y0, int orig_w, int orig_h bson_append_finish_object(&b); } } + bson_append_finish_array(&b); } - bson_append_finish_array(&b); bson_finish(&b); bson_print(&b); |
