summaryrefslogtreecommitdiffstats
path: root/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-01 11:59:34 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-01 12:00:48 -0800
commit3e6a721771595576ca50317aa1ea8c443fff9518 (patch)
tree63d70ccd40392572eb65a77b664d20240121409c /subsurfacestartup.c
parent9b247af3f6de2c3278e3cafdd09a7d8685e6e0c9 (diff)
downloadsubsurface-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.c2
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));
}