Fixed bug B2015-133 where RO fields that contain a single character were not printing on the report

This commit is contained in:
John Jenko 2015-08-21 13:10:37 +00:00
parent 6f68a01ca9
commit f4e1c63ec1

View File

@ -226,7 +226,7 @@ namespace Volian.Print.Library
break; break;
} }
} }
if (idx < instr.Length - 1) if (idx <= instr.Length - 1)
{ {
int uidx = 0; int uidx = 0;
string strChk = (instr.Substring(idx)); string strChk = (instr.Substring(idx));
@ -252,7 +252,7 @@ namespace Volian.Print.Library
underlineChunk = !underlineChunk; underlineChunk = !underlineChunk;
} }
} }
if (uidx < strChk.Length - 1) if (uidx <= strChk.Length - 1)
{ {
string tstr = strChk.Substring(uidx); string tstr = strChk.Substring(uidx);
if (tstr.EndsWith(" ")) if (tstr.EndsWith(" "))