Fixed Encode Normal Morse Error
This commit is contained in:
parent
769b0edc4e
commit
ad74229132
1 changed files with 1 additions and 1 deletions
|
@ -1008,7 +1008,7 @@ public class Morse extends JFrame {
|
||||||
while (signFull) {
|
while (signFull) {
|
||||||
if (inputToSign.toString().startsWith(" ")) {
|
if (inputToSign.toString().startsWith(" ")) {
|
||||||
output.append(" ");
|
output.append(" ");
|
||||||
inputToSign.delete(d, d + 9);
|
inputToSign.delete(d, d + 7);
|
||||||
} else if (inputToSign.toString().substring(d, d + 3)
|
} else if (inputToSign.toString().substring(d, d + 3)
|
||||||
.equals(" ")) {
|
.equals(" ")) {
|
||||||
if (d == 0) {
|
if (d == 0) {
|
||||||
|
|
Reference in a new issue