diff options
-rw-r--r-- | mbbsd/fav.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c index bd414ddf..e7875a72 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -312,6 +312,7 @@ static void rebuild_fav(fav_t *fp, int clean_invisible) fp->lineID = fp->folderID = 0; fp->nLines = fp->nFolders = fp->nBoards = 0; nData = fp->DataTail; + fp->DataTail = 0; for (i = 0, j = 0; i < nData; i++){ if (!(fp->favh[i].attr & FAVH_FAV)) |