1
0
mirror of https://github.com/cclassic/model-ghdl synced 2024-11-29 09:13:28 +01:00

Fixed typo

This commit is contained in:
Makise Kurisu 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) {
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]);
}
else {