This commit is contained in:
Kathy Ruffing 2012-06-26 15:14:40 +00:00
parent ed2fcf39e1
commit 8ae78444ab

View File

@ -349,7 +349,10 @@ namespace DataLoader
// (see above comment for accessory pages to see the difference)
else
{
tbuff = TextConvert.ConvertText(dr["TextM"].ToString().Trim(), ConvertCaret);
string t = dr["Text"].ToString().PadRight(80, ' ').Substring(0, 75).TrimEnd();
string tm = dr["TextM"].ToString().Trim();
string secttitle = tm == null || tm == "" ? t : tm;
tbuff = TextConvert.ConvertText(secttitle, ConvertCaret);
}
//// TESTS were run & it looked like that whitespace was removed before saving,
@ -374,7 +377,7 @@ namespace DataLoader
}
else
{
menustr = TextConvert.ConvertText(dr["Text"].ToString().PadRight(80, ' ').Substring(0, 75).TrimEnd(), ConvertCaret);
menustr = tbuff;
}
}
else