X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Ffolder_addmsg.c;h=e14c7099d69099a494a29cb3cd23212df598d898;hp=4cc8d6c65a49b739288cb4806f09ac2efc9dee68;hb=6e9577f324bef90765a5edc02044eb111ec48072;hpb=2abb9a7cfb0930e27062088734d306e7d78e4cc2 diff --git a/sbr/folder_addmsg.c b/sbr/folder_addmsg.c index 4cc8d6c..e14c709 100644 --- a/sbr/folder_addmsg.c +++ b/sbr/folder_addmsg.c @@ -87,20 +87,6 @@ folder_addmsg(struct msgs **mpp, char *msgfile, int selected, /* should we set the SELECTED bit? */ if (selected) { set_selected(mp, msgnum); - - /* check if highest or lowest selected */ - if (mp->numsel == 0) { - mp->lowsel = msgnum; - mp->hghsel = msgnum; - } else { - if (msgnum < mp->lowsel) - mp->lowsel = msgnum; - if (msgnum > mp->hghsel) - mp->hghsel = msgnum; - } - - /* increment number selected */ - mp->numsel++; } /*