telegrafista
This commit is contained in:
parent
f0160ca1b5
commit
d5173645b0
@ -59,7 +59,8 @@ void search(struct morsetree* root, char* decode){
|
||||
struct morsetree* this = root;
|
||||
int i = 0;
|
||||
for(i == 0; i <= strlen(decode); i++){
|
||||
if(i == strlen(decode) && decode[strlen(decode)-1] == ' '){
|
||||
if((i == strlen(decode) && decode[strlen(decode)-1] == ' ') ||
|
||||
(i == strlen(decode)-1 && decode[strlen(decode)-2] == '/')){
|
||||
printf("\n");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user