projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6062245
)
* fix "all" messages view in bbs view
author
Wilfried Göesgens
<willi@citadel.org>
Mon, 2 Feb 2009 22:59:11 +0000
(22:59 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Mon, 2 Feb 2009 22:59:11 +0000
(22:59 +0000)
webcit/messages.c
patch
|
blob
|
history
diff --git
a/webcit/messages.c
b/webcit/messages.c
index b40cd542bf4dcdf78510de35db74edbe86487b98..171b73e0237f6481cf3442932f682954768cc0ff 100644
(file)
--- a/
webcit/messages.c
+++ b/
webcit/messages.c
@@
-568,7
+568,12
@@
long DrawMessageDropdown(StrBuf *Selector, long maxmsgs, long startmsg, int nMes
}
vector[6] = 0;
FlushStrBuf(TmpBuf);
- vector[1] = lbstr("maxmsgs") == 9999999;
+ if (maxmsgs == 9999999) {
+ vector[1] = 1;
+ ret = maxmsgs;
+ }
+ else
+ vector[1] = 0;
vector[2] = 0;
dbg_print_longvector(vector);
DoTemplate(HKEY("select_messageindex_all"), TmpBuf, &SubTP);