diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-01 11:59:34 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-01 12:00:48 -0800 |
commit | 3e6a721771595576ca50317aa1ea8c443fff9518 (patch) | |
tree | 63d70ccd40392572eb65a77b664d20240121409c /subsurfacestartup.c | |
parent | 9b247af3f6de2c3278e3cafdd09a7d8685e6e0c9 (diff) | |
download | subsurface-3e6a721771595576ca50317aa1ea8c443fff9518.tar.gz |
Always show the full git version when called with --version
This way we finally get the right version shown on Mac and Windows.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurfacestartup.c')
-rw-r--r-- | subsurfacestartup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurfacestartup.c b/subsurfacestartup.c index 48e258169..95578918c 100644 --- a/subsurfacestartup.c +++ b/subsurfacestartup.c @@ -107,7 +107,7 @@ bool imported = false; static void print_version() { - printf("Subsurface v%s, ", VERSION_STRING); + printf("Subsurface v%s, ", GIT_VERSION_STRING); printf("built with libdivecomputer v%s\n", dc_version(NULL)); } |