Added revision to codename string

This commit is contained in:
Bitl 2023-11-20 13:18:11 -07:00
parent 5c8f23f670
commit b3afe2a48e
1 changed files with 2 additions and 2 deletions

View File

@ -752,10 +752,10 @@ namespace Novetus.Core
string firstTerm = (termList.ElementAtOrDefault(pos1 - 1) != null) ? termList[pos1 - 1] : termList.First(); string firstTerm = (termList.ElementAtOrDefault(pos1 - 1) != null) ? termList[pos1 - 1] : termList.First();
string lastTerm = (termList.ElementAtOrDefault(pos2 - 1) != null) ? termList[pos2 - 1] : termList.Last(); string lastTerm = (termList.ElementAtOrDefault(pos2 - 1) != null) ? termList[pos2 - 1] : termList.Last();
return firstTerm + " " + lastTerm; return firstTerm + " " + lastTerm + " (" + revision + ")";
} }
return "Invalid Revision"; return "Invalid Revision (0)";
} }
public static void ReadInfoFile(string infopath, string termspath, string exepath = "") public static void ReadInfoFile(string infopath, string termspath, string exepath = "")