From 11fef8d1bbe449016584c061ddb2b302ee1ee593 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Tue, 16 Feb 2016 15:08:34 +0000 Subject: [PATCH] Added trisurf build date --- src/snapshot.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/snapshot.c b/src/snapshot.c index a39ff87..e96139b 100644 --- a/src/snapshot.c +++ b/src/snapshot.c @@ -5,6 +5,7 @@ #include<stdarg.h> #include <zlib.h> #include<inttypes.h> +#include<config.h> ts_uint ts_sprintf(ts_string *str, char *fmt, ...){ va_list ap; @@ -42,7 +43,7 @@ } ts_bool xml_trisurf_header(FILE *fh, ts_vesicle *vesicle){ - fprintf(fh, "<trisurfversion></trisurfversion>\n"); + fprintf(fh, "<trisurfversion>%s</trisurfversion>\n",TS_VERSION); fprintf(fh, "<trisurfdate></trisurfdate>\n"); fprintf(fh, "<dumpdate></dumpdate>\n"); fprintf(fh, "<tape>\n"); -- Gitblit v1.9.3