diff --git a/a1/program.c b/a1/program.c index 8792eba..bfefe8c 100644 --- a/a1/program.c +++ b/a1/program.c @@ -34,7 +34,7 @@ void serch_zatv(char vhod[MAX]){ } for(int i = 0; i < idt; i++){ - if(vhod[idx] = find[i]){ + if(vhod[idx] == find[i]){ find[i] = "."; for(int r = i + 1; i < idt; r++){ if(find[r] != "." || find[r] != "\0"){