mirror of
https://github.com/open-simh/simh.git
synced 2026-01-15 16:07:47 +00:00
SCP: Fix help topic matching to properly return wildcard and ambiguous status
As reported in #723
This commit is contained in:
parent
2840e3b67f
commit
40731f0433
2
scp.c
2
scp.c
@ -13568,7 +13568,7 @@ return SCPE_OK;
|
||||
#define HLP_MATCH_AMBIGUOUS (~0u)
|
||||
#define HLP_MATCH_WILDCARD (~1U)
|
||||
#define HLP_MATCH_NONE 0
|
||||
static int matchHelpTopicName (TOPIC *topic, const char *token)
|
||||
static size_t matchHelpTopicName (TOPIC *topic, const char *token)
|
||||
{
|
||||
size_t i, match;
|
||||
char cbuf[CBUFSIZE], *cptr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user