1
0
mirror of https://github.com/simh/simh.git synced 2026-04-28 12:47:25 +00:00

PDP8: Fix SHOW TTIX SUMMARY

It was defined in lowercase and has now been made upper case for consistency.
The code which performs the match also has been change to do a case
insensitive compare.
This commit is contained in:
Mark Pizzolato
2016-12-17 13:38:22 -08:00
parent 372231dd3a
commit 7964e2b72d
2 changed files with 6 additions and 11 deletions

View File

@@ -398,7 +398,7 @@ typedef uint32 t_addr;
/* String match - at least one character required */
#define MATCH_CMD(ptr,cmd) ((NULL == (ptr)) || (!*(ptr)) || strncmp ((ptr), (cmd), strlen (ptr)))
#define MATCH_CMD(ptr,cmd) ((NULL == (ptr)) || (!*(ptr)) || sim_strncasecmp ((ptr), (cmd), strlen (ptr)))
/* End of Linked List/Queue value */
/* Chosen for 2 reasons: */