1
0
mirror of https://github.com/cclassic/model-ghdl synced 2024-11-21 08:25:05 +01:00

Fixed typo

This commit is contained in:
Markus Koch 2016-05-08 15:57:46 +02:00
parent 7189e18c19
commit a62951aed2

2
main.c
View File

@ -117,7 +117,7 @@ int run_ghdl(char *command, ...) {
if (arrc == 4) { if (arrc == 4) {
printf("** Error: %s(%s): (ghdl) %s", arr[0], arr[1], arr[3]); printf("** Error: %s(%s): (ghdl) %s", arr[0], arr[1], arr[3]);
} }
else if (arrc = 5) { else if (arrc == 5) {
printf("** Warning: %s(%s): (ghdl) %s", arr[0], arr[1], arr[4]); printf("** Warning: %s(%s): (ghdl) %s", arr[0], arr[1], arr[4]);
} }
else { else {