diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c index a88ac1b1..af93ccf5 100644 --- a/mbbsd/name.c +++ b/mbbsd/name.c @@ -591,7 +591,7 @@ generalnamecomplete(char *prompt, char *data, int len, size_t nmemb, if (ptr != 0) { gnc_findbound(data, &start, &end, nmemb, compar); if (gnc_complete(data, &start, &end, permission, getname) - == 1) + == 1 || (*compar)(start, data, len) == 0) ret = start; else { data[0] = '\n'; |