summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-05-02 11:39:36 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-05-02 11:39:36 +0800
commit45e2fad473ccdeb47eeb271b25a67b909a957e29 (patch)
treed5c57231da714904f6a5e8bf464a6f3dad080150 /mbbsd/cache.c
parentf27721b033d921e063c039db94a133fc9ddefaa7 (diff)
downloadpttbbs-45e2fad473ccdeb47eeb271b25a67b909a957e29.tar
pttbbs-45e2fad473ccdeb47eeb271b25a67b909a957e29.tar.gz
pttbbs-45e2fad473ccdeb47eeb271b25a67b909a957e29.tar.bz2
pttbbs-45e2fad473ccdeb47eeb271b25a67b909a957e29.tar.lz
pttbbs-45e2fad473ccdeb47eeb271b25a67b909a957e29.tar.xz
pttbbs-45e2fad473ccdeb47eeb271b25a67b909a957e29.tar.zst
pttbbs-45e2fad473ccdeb47eeb271b25a67b909a957e29.zip
fixed movie in some state
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3508 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index b721c82b..6c961592 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -852,7 +852,7 @@ reload_pttcache(void)
int id;
SHM->Pbusystate = 1;
- SHM->max_film = 0;
+ SHM->last_film = 0;
bzero(SHM->notes, sizeof(SHM->notes));
setapath(pbuf, "Note");
setadir(buf, pbuf);
@@ -884,7 +884,7 @@ reload_pttcache(void)
}
fclose(fp);
}
- SHM->max_film = id - 1;
+ SHM->last_film = id - 1;
fp = fopen("etc/today_is", "r");
if (fp) {