From 9c50938b92c734d755df6bc537ebb68c026874b8 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Thu, 24 Mar 2016 16:24:37 -0400 Subject: [PATCH] Fix off-by-one error in F.SELECTPAGE --- functions.mush | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.mush b/functions.mush index 503cb34..831cda3 100644 --- a/functions.mush +++ b/functions.mush @@ -250,7 +250,7 @@ /@@ Get the where its at in the list @@/ [setq(p,match(%qM,%qf))] /@@ Then Isolate Where that is in the Message List @@/ - [add(if(eq(mod(%qP,10),0),1,1),val(div(%qP,10)))] + [add(if(eq(mod(%qP,10),0),0,1),val(div(%qP,10)))] , /@@ There is no unread message. So grab the last page possible @@/ [if(mod(setr(0,words(%qM)),10), -- 2.30.2