diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-06 11:51:43 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-06 11:51:43 +0800 |
commit | aed0b53aad42a5708d232c1eb44012af4574299c (patch) | |
tree | e87dab609cd9501e377103ce5cb51b47ee429969 | |
parent | 5aa5f0dc57a1eb9809022020d2643293496aae60 (diff) | |
download | pttbbs-aed0b53aad42a5708d232c1eb44012af4574299c.tar pttbbs-aed0b53aad42a5708d232c1eb44012af4574299c.tar.gz pttbbs-aed0b53aad42a5708d232c1eb44012af4574299c.tar.bz2 pttbbs-aed0b53aad42a5708d232c1eb44012af4574299c.tar.lz pttbbs-aed0b53aad42a5708d232c1eb44012af4574299c.tar.xz pttbbs-aed0b53aad42a5708d232c1eb44012af4574299c.tar.zst pttbbs-aed0b53aad42a5708d232c1eb44012af4574299c.zip |
Fix r2468.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2470 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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'; |