diff --git a/PROMS/DataLoader/Loader.cs b/PROMS/DataLoader/Loader.cs index 1c399968..39ef3f0b 100644 --- a/PROMS/DataLoader/Loader.cs +++ b/PROMS/DataLoader/Loader.cs @@ -100,6 +100,7 @@ namespace DataLoader AnnotationType at = AnnotationType.MakeAnnotationType("Reference", null); at = AnnotationType.MakeAnnotationType("Action Items", null); at = AnnotationType.MakeAnnotationType("Verification Required", null); + at = AnnotationType.MakeAnnotationType("Volian Comment", null); frmMain.Status = "Load veproms.ini"; XmlDocument d = cfg.LoadSystemIni(vepromspath); diff --git a/PROMS/Volian.Controls.Library/DisplayText.cs b/PROMS/Volian.Controls.Library/DisplayText.cs index 3f100164..a266ebfb 100644 --- a/PROMS/Volian.Controls.Library/DisplayText.cs +++ b/PROMS/Volian.Controls.Library/DisplayText.cs @@ -286,7 +286,7 @@ namespace Volian.Controls.Library { int ind =str.LastIndexOf("= 0 && str[ind - 1] != ' ') + while (ind > 0 && str[ind - 1] != ' ') { if (ind > 5 && str.Substring(0, ind).EndsWith(@"\u160?") || str.Substring(0, ind).ToLower().EndsWith(@"\'a0")) return str;//Already has a Hard Space