projects
/
cobranet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6209c6f
)
Fix off-by-one error in F.SELECTPAGE
master
author
Ari Johnson
<ari@theari.com>
Thu, 24 Mar 2016 20:24:37 +0000
(16:24 -0400)
committer
Ari Johnson
<ari@theari.com>
Thu, 24 Mar 2016 20:24:37 +0000
(16:24 -0400)
functions.mush
patch
|
blob
|
history
diff --git
a/functions.mush
b/functions.mush
index 503cb344f0afb2ffae85474899ba0c49fdbd4daf..831cda38e43c0128a3fb43899db6983311f04057 100644
(file)
--- 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 @@/
/@@ 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),
,
/@@ There is no unread message. So grab the last page possible @@/
[if(mod(setr(0,words(%qM)),10),