aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurfacestartup.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r--core/subsurfacestartup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c
index bdb908ea5..c12357cbc 100644
--- a/core/subsurfacestartup.c
+++ b/core/subsurfacestartup.c
@@ -132,7 +132,11 @@ void print_version()
static bool version_printed = false;
if (version_printed)
return;
+#if defined(SUBSURFACE_DOWNLOADER)
+ printf("Subsurface-downloader v%s,\n", subsurface_git_version());
+#else
printf("Subsurface v%s,\n", subsurface_git_version());
+#endif
printf("built with libdivecomputer v%s\n", dc_version(NULL));
print_qt_versions();
int git_maj, git_min, git_rev;