summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/fav.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index e788726c..90ce7dc5 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -802,14 +802,14 @@ static void move_in_folder(fav_t *fav, int src, int dst)
fav_type_t tmp;
if (fav == NULL)
- return;
+ return;
count = get_data_number(fav);
- if (src < fav->DataTail);
- src = count;
- if (dst < fav->DataTail);
- dst = count;
+ if (src < fav->DataTail)
+ src = count;
+ if (dst < fav->DataTail)
+ dst = count;
if (src == dst)
- return;
+ return;
dirty = 1;