diff --git a/a5/program.c b/a5/program.c index a52efcd..30dcaf8 100644 --- a/a5/program.c +++ b/a5/program.c @@ -67,6 +67,7 @@ void search(struct morsetree* root, char* decode){ }*/ if(decode[i] == ' ' || decode[i] == '\n' || decode[i] == '\0'){ if(i == strlen(decode)){ + printf("\n"); return; } printf("%c", this->letter);