From: <ha...@us...> - 2007-02-08 16:49:58
|
Revision: 6720 http://svn.sourceforge.net/jmol/?rev=6720&view=rev Author: hansonr Date: 2007-02-08 08:49:47 -0800 (Thu, 08 Feb 2007) Log Message: ----------- 11.1 text bug Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Text.java Modified: trunk/Jmol/src/org/jmol/viewer/Text.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Text.java 2007-02-08 16:13:23 UTC (rev 6719) +++ trunk/Jmol/src/org/jmol/viewer/Text.java 2007-02-08 16:49:47 UTC (rev 6720) @@ -340,6 +340,8 @@ widths = null; return; } + if (fm == null) + return; lines = split(text, '|'); textWidth = 0; widths = new int[lines.length]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |