Skip to content
Snippets Groups Projects
Commit 1c7279d0 authored by tjc's avatar tjc
Browse files

fix for get the number of lines for the product

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@9722 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 97398ef5
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ class ProductBox extends AbstractCvBox
*/
private int getNumberOfLines(FontMetrics fm, final String text, final int width)
{
String delim = " \\t\\n\\f\\r";
String delim = " \t\n\f\r";
StringTokenizer tok = new StringTokenizer(text, delim, true);
//final String words[] = text.split("\\s");
int lineOffset = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment