diff --git a/src/komodo_utils.h b/src/komodo_utils.h index a9a06c80f..65601e655 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -1769,6 +1769,8 @@ void komodo_args(char *argv0) { int32_t ecode = ccEnablesHeight[i]; int32_t ht = ccEnablesHeight[i+1]; + if ( i > 1 && ccEnablesHeight[i-2] == ecode ) + break; if ( ecode > 255 || ecode < 0 ) fprintf(stderr, "ac_ccactivateht: invalid evalcode.%i must be between 0 and 256.\n", ecode); else if ( ht > 0 )