Skip to content
Snippets Groups Projects
Commit d8a0991c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Display Git commit date/time, not build date/time

parent 48d95919
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
Pipeline #6302 passed
...@@ -81,7 +81,7 @@ const char* ver(void) ...@@ -81,7 +81,7 @@ const char* ver(void)
static char ver[256]; static char ver[256];
wsprintf(ver,"Synchronet Control Panel v%u.%u.%u.%u%s%s " wsprintf(ver,"Synchronet Control Panel v%u.%u.%u.%u%s%s "
"Compiled %s/%s %s %s with %s" "Compiled %s/%s %s with %s"
,Ver->dwFileVersionMS>>16 ,Ver->dwFileVersionMS>>16
,Ver->dwFileVersionMS&0xffff ,Ver->dwFileVersionMS&0xffff
,Ver->dwFileVersionLS>>16 ,Ver->dwFileVersionLS>>16
...@@ -91,7 +91,7 @@ const char* ver(void) ...@@ -91,7 +91,7 @@ const char* ver(void)
,Ver->dwFileFlags&VS_FF_PRERELEASE ? ,Ver->dwFileFlags&VS_FF_PRERELEASE ?
" Pre-release" : "" " Pre-release" : ""
,GIT_BRANCH, GIT_HASH ,GIT_BRANCH, GIT_HASH
,__DATE__, __TIME__, compiler ,GIT_DATE, compiler
); );
return ver; return ver;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment