if (protein != null && cdna != null)
{
ViewStyleI vs = cdna.getViewStyle();
- vs.setCharWidth(3 * vs.getCharWidth());
- protein.setViewStyle(vs);
+ ViewStyleI vs2 = protein.getViewStyle();
+ vs2.setCharWidth(3 * vs.getCharWidth());
+ protein.setViewStyle(vs2);
}
}
}