From b3afe2a48e3caf7e9a01eb9731f0b7a0ff0a0864 Mon Sep 17 00:00:00 2001 From: Bitl Date: Mon, 20 Nov 2023 13:18:11 -0700 Subject: [PATCH] Added revision to codename string --- Novetus/NovetusCore/StorageAndFunctions/FileManagement.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Novetus/NovetusCore/StorageAndFunctions/FileManagement.cs b/Novetus/NovetusCore/StorageAndFunctions/FileManagement.cs index 21f6e7a..fcfe7cc 100644 --- a/Novetus/NovetusCore/StorageAndFunctions/FileManagement.cs +++ b/Novetus/NovetusCore/StorageAndFunctions/FileManagement.cs @@ -752,10 +752,10 @@ namespace Novetus.Core string firstTerm = (termList.ElementAtOrDefault(pos1 - 1) != null) ? termList[pos1 - 1] : termList.First(); 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 = "")