Fixed crashing bug in Import Wylie.

This commit is contained in:
dchandler 2003-11-08 23:32:53 +00:00
parent 8fbd8850f8
commit 85e1e0701e

View file

@ -1209,7 +1209,7 @@ public class Jskad extends JPanel implements DocumentListener {
if (i < 0)
rtf_fileName += ".rtf";
else
rtf_fileName = fileName.substring(0, i) + ".rtf";
rtf_fileName = rtf_fileName.substring(0, i) + ".rtf";
try {
BufferedReader in = new BufferedReader(new FileReader(txt_fileChosen));