From: Lo?c C. <lo...@us...> - 2001-06-15 21:04:36
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat In directory usw-pr-cvs1:/tmp/cvs-serv32041/chat Modified Files: messages_low.php3 loader.php3 Log Message: Fixed a possible bug (more than C_MSG_NB messages may be displayed at startup) Index: messages_low.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/messages_low.php3,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** messages_low.php3 2001/06/10 14:56:06 1.19 --- messages_low.php3 2001/06/15 21:04:33 1.20 *************** *** 197,201 **** // Skip the oldest message if the day seperator has been added ! if ($isDaySeparator && $k == $grabedMessagesCnt - 1) { continue; --- 197,201 ---- // Skip the oldest message if the day seperator has been added ! if ($isDaySeparator && $k >= $grabedMessagesCnt - 1) { continue; Index: loader.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/loader.php3,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** loader.php3 2001/06/10 14:56:06 1.22 --- loader.php3 2001/06/15 21:04:33 1.23 *************** *** 232,236 **** // Skip the oldest message if the day seperator has been added ! if ($isDaySeparator && $isInitLoad && $k == $grabedMessagesCnt - 1) { continue; --- 232,236 ---- // Skip the oldest message if the day seperator has been added ! if ($isDaySeparator && $isInitLoad && $k >= $grabedMessagesCnt - 1) { continue; |