JAL-1841 robustness fix
[jalview.git] / src / jalview / renderer / AnnotationRenderer.java
index 94015de..82f6ffb 100644 (file)
@@ -220,7 +220,7 @@ public class AnnotationRenderer
             || !dc.equals(row_annotations[column].displayCharacter);
     // System.out.println("Column "+column+" diff up: "+diffupstream+" down:"+diffdownstream);
     // If a closing base pair half of the stem, display a backward arrow
-    if (column > 0 && Rna.isClosingParenthesis(dc.charAt(0)))
+    if (column > 0 && Rna.isClosingParenthesis(dc))
     {
 
       if (diffupstream)