From 46df6f918700d255cd822c64b78152f66d4d8e6a Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 7 Jan 2021 14:47:29 +0100 Subject: [PATCH] fix a bug in printing the compatibility status --- src/frontend/inpcom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index d5cee443c..054f7fd5b 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -565,7 +565,7 @@ static void set_compat_mode(void) newcompat.isset = newcompat.eg = TRUE; /*EAGLE*/ if (strstr(behaviour, "spe")) { newcompat.isset = newcompat.spe = TRUE; /*Spectre*/ - newcompat.ps = newcompat.lt = newcompat.ki = newcompat.a = FALSE; + newcompat.ps = newcompat.lt = newcompat.ki = newcompat.eg = FALSE; } if (strstr(behaviour, "mc")) { newcompat.isset = FALSE; @@ -597,8 +597,6 @@ static void print_compat_mode(void) { fprintf(stdout, " lt"); if (newcompat.ki) fprintf(stdout, " ki"); - if (newcompat.a) - fprintf(stdout, " a"); if (newcompat.ll) fprintf(stdout, " ll"); if (newcompat.s3) @@ -607,6 +605,8 @@ static void print_compat_mode(void) { fprintf(stdout, " eg"); if (newcompat.spe) fprintf(stdout, " spe"); + if (newcompat.a) + fprintf(stdout, " a"); fprintf(stdout, "\n\n"); } else {