1
0
mirror of https://github.com/simh/simh.git synced 2026-02-19 22:06:34 +00:00

BESM6: Fixed to use SCP provided sim_strcasecmp()

This commit is contained in:
Mark Pizzolato
2017-01-17 16:38:16 -08:00
parent 34ffe98605
commit e9b51150b0

View File

@@ -406,9 +406,9 @@ t_stat tty_setrate (UNIT *up, int32 v, CONST char *cp, void *dp) {
t_stat tty_setturbo (UNIT *up, int32 v, CONST char *cp, void *dp) { t_stat tty_setturbo (UNIT *up, int32 v, CONST char *cp, void *dp) {
if (!cp) if (!cp)
return SCPE_MISVAL; return SCPE_MISVAL;
if (!strcasecmp(cp, "ON")) if (!sim_strcasecmp(cp, "ON"))
tty_turbo = 1; tty_turbo = 1;
else if (!strcasecmp(cp, "OFF")) else if (!sim_strcasecmp(cp, "OFF"))
tty_turbo = 0; tty_turbo = 0;
else else
return SCPE_ARG; return SCPE_ARG;