woops.
[jalview.git] / src / jalview / gui / SequenceFetcher.java
index f06bd97..71539ba 100755 (executable)
@@ -418,7 +418,7 @@ public class SequenceFetcher extends JPanel implements Runnable
      * tidy inputs and check there is something to search for
      */
     String t0 = textArea.getText();
-    String text = text.trim(); // BH 2019.01.30
+    String text = t0.trim(); // BH 2019.01.30
     if (replacePunctuation.isEnabled() && replacePunctuation.isSelected())
     {
       text = text.replace(",", ";");