Initialization

This commit is contained in:
Kozar 2024-04-25 18:46:57 +02:00
parent 9cef985af2
commit 549752d5ca

View File

@ -20,7 +20,7 @@ int main() {
}
i = 0;
while (scanf("%s", buffer) == 1 && strcmp(buffer, "") != 0) {
while (i < count && scanf("%s", buffer) == 1) {
int found = 0;
for (j = 0; j < i; j++) {
if (strcmp(applications[j], buffer) == 0) {