From c68892c333a023727d444f4a7ce09fc6feaba965 Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Wed, 11 Nov 2020 00:17:01 +0100 Subject: [PATCH] dokoncenie --- cv6/a_station.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv6/a_station.c b/cv6/a_station.c index d4905fb..758e5d2 100644 --- a/cv6/a_station.c +++ b/cv6/a_station.c @@ -81,7 +81,7 @@ int count_targets(struct station* station){ } int count_capacity(struct station* station){ - int counter=0; + int counter=1; for(int i=0;itrack_count;i++){ struct car* newCar= station->tracks[i]; while (newCar->value!=NULL)