B2022-084 – In last update, code was reorganized (no needed coding changes) resulting in some variables were not properly initialized causing Null reference errors. Restore back to previous Source Safe version.

This commit is contained in:
John Jenko 2022-07-29 15:20:21 +00:00
parent 78bd41dc56
commit ffab0f1510

View File

@ -67,7 +67,7 @@ namespace VEPROMS
{
// C2021-010: Remove trailing returns/spaces & manual page breaks & allow save.
// return values: 0=None; 1=Trailing; 2=ManualPgBrk; 3=Both.
// The designer file has the additional controls
// The designer file has the additional controls
if (!cbxRemoveManualPgBrk.Checked && !cbxRemoveTrailing.Checked) return 0;
if (!cbxRemoveManualPgBrk.Checked && cbxRemoveTrailing.Checked) return 1;
if (cbxRemoveManualPgBrk.Checked && !cbxRemoveTrailing.Checked) return 2;