Fixed issue with git revision under Windows
This commit is contained in:
+2
-2
@@ -7244,8 +7244,8 @@ void set_cookie(LOGBOOK * lbs, char *name, char *value, BOOL global, char *expir
|
||||
const char *git_revision()
|
||||
{
|
||||
const char *p = _git_revision;
|
||||
if (strchr(p, '-'))
|
||||
p = strchr(p, '-')+2;
|
||||
if (strrchr(p, '-'))
|
||||
p = strrchr(p, '-')+2;
|
||||
return p;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user