From f93486a71a5feaa11b238d2e3c5a8c512171f86f Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Thu, 3 Dec 2020 15:25:53 +0100 Subject: [PATCH] telegrafista --- a5/program.c | 1 + 1 file changed, 1 insertion(+) 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);