commit 978d7cb1cdff0ba8786f102c37cdd950229cf583
parent 8799a8fa052fe60a61798ea8c6e8a994315aac17
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 15 Mar 2017 14:35:59 +0100
Make consistent the draw output when no direction is submitted
Ensure that the first line of the draw output is always a comment.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/solstice.c b/src/solstice.c
@@ -675,6 +675,8 @@ solstice_run(struct solstice* solstice)
goto error;
}
+ fprintf(solstice->output, "#--- No Sun direction\n");
+
if(dump) {
res = solstice_dump(solstice);
if(res != RES_OK) goto error;