B2015-083: For WCNTRN, the Responsibility data was not wrapping correctly in some cases. This was fixed.
This commit is contained in:
parent
eaa5d49b65
commit
3aef30629c
@ -3657,7 +3657,7 @@ namespace Volian.Print.Library
|
||||
results.Add(responsStr.Substring(start, lastspace - start).Trim(" ".ToCharArray()) + "\r\n");
|
||||
start = lastspace + (spFound?1:0); // increment start based on whether a space is found, i.e. if no space keep at 'indx'
|
||||
// width either is equal to width of text after the last space, or is zero if at the maxlen of width:
|
||||
width = (width - start - 1) > 0 ? width - start - 1 : 0;
|
||||
width = (indx - lastspace - 1) > 0 ? indx - lastspace - 1 : 0;
|
||||
lastspace = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user