Fix some formatting issues :)

master
Tait Hoyem 5 years ago
parent 25fc4e1665
commit 6721d0a97d

@ -75,7 +75,10 @@ void print_single_morse(char charToMorse, bool isSlow, bool addLetter){
} }
// if not convertable // if not convertable
} else { } else {
printf("%c", charToMorse); if (charToMorse == '-' || charToMorse == '.'){
} else {
printf("%c", charToMorse);
}
} }
} }
@ -143,6 +146,7 @@ int main(int argc, char *argv[]){
wordToken = multi_tok(NULL, " "); wordToken = multi_tok(NULL, " ");
printf(" "); printf(" ");
} }
printf("\n");
fflush(stdin); fflush(stdin);
} }
} else { } else {

Loading…
Cancel
Save