diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-29 22:33:14 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-29 22:33:14 +0800 |
commit | a11d747015c5698ced27e99c77bab5dd272b5c32 (patch) | |
tree | 35d24ec116a079ffc07aabd39c9df23c6166c3c8 /mbbsd/fav.c | |
parent | 9a7ef6a1c617309f778a335f48c0100b1907bc45 (diff) | |
download | pttbbs-a11d747015c5698ced27e99c77bab5dd272b5c32.tar pttbbs-a11d747015c5698ced27e99c77bab5dd272b5c32.tar.gz pttbbs-a11d747015c5698ced27e99c77bab5dd272b5c32.tar.bz2 pttbbs-a11d747015c5698ced27e99c77bab5dd272b5c32.tar.lz pttbbs-a11d747015c5698ced27e99c77bab5dd272b5c32.tar.xz pttbbs-a11d747015c5698ced27e99c77bab5dd272b5c32.tar.zst pttbbs-a11d747015c5698ced27e99c77bab5dd272b5c32.zip |
fix the wrong condition
use fav root to store those adm tags
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3115 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r-- | mbbsd/fav.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c index 90ce7dc5..7989b9ba 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -804,9 +804,9 @@ static void move_in_folder(fav_t *fav, int src, int dst) if (fav == NULL) return; count = get_data_number(fav); - if (src < fav->DataTail) + if (src >= fav->DataTail) src = count; - if (dst < fav->DataTail) + if (dst >= fav->DataTail) dst = count; if (src == dst) return; |