src/Version.cc

changeset 639
851634b85893
parent 634
5ef894f699d7
equal deleted inserted replaced
638:382226e40865 639:851634b85893
22 #include "Git.h" 22 #include "Git.h"
23 23
24 char gVersionString[64] = {'\0'}; 24 char gVersionString[64] = {'\0'};
25 char gFullVersionString[256] = {'\0'}; 25 char gFullVersionString[256] = {'\0'};
26 26
27 // ----------------------------------------------------------------------------- 27 // =============================================================================
28 // 28 //
29 const char* versionString() 29 const char* versionString()
30 { 30 {
31 if (gVersionString[0] == '\0') 31 if (gVersionString[0] == '\0')
32 { 32 {
38 } 38 }
39 39
40 return gVersionString; 40 return gVersionString;
41 } 41 }
42 42
43 // ----------------------------------------------------------------------------- 43 // =============================================================================
44 // 44 //
45 const char* fullVersionString() 45 const char* fullVersionString()
46 { 46 {
47 if (gFullVersionString[0] == '\0') 47 if (gFullVersionString[0] == '\0')
48 { 48 {

mercurial