diff options
author | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-31 15:45:41 +0800 |
---|---|---|
committer | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-31 15:45:41 +0800 |
commit | a7ea61462a6557784eb4858bfe0066f64ffa8262 (patch) | |
tree | 516e1952cbeb0425283615ebe99ce1cf8f7f814e | |
parent | 771388914b4def435a977c54104118ae10447cb0 (diff) | |
download | pttbbs-a7ea61462a6557784eb4858bfe0066f64ffa8262.tar pttbbs-a7ea61462a6557784eb4858bfe0066f64ffa8262.tar.gz pttbbs-a7ea61462a6557784eb4858bfe0066f64ffa8262.tar.bz2 pttbbs-a7ea61462a6557784eb4858bfe0066f64ffa8262.tar.lz pttbbs-a7ea61462a6557784eb4858bfe0066f64ffa8262.tar.xz pttbbs-a7ea61462a6557784eb4858bfe0066f64ffa8262.tar.zst pttbbs-a7ea61462a6557784eb4858bfe0066f64ffa8262.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@264 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/talk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index c56c5d2a..a6eeba5b 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1,4 +1,4 @@ -/* $Id: talk.c,v 1.52 2002/05/31 07:17:42 lwms Exp $ */ +/* $Id: talk.c,v 1.53 2002/05/31 07:45:41 lwms Exp $ */ #include <stdio.h> #include <string.h> #include <errno.h> @@ -1974,8 +1974,8 @@ static void userlist(void) offset = i % 20; } else{ - page = (si) / 20; - offset = (si) % 20; + page = (si + nGots) / 20; + offset = (si + nGots) % 20; } } redrawall = redraw = 1; |