From: <wel...@us...> - 2010-10-25 17:46:14
|
Revision: 6313 http://planeshift.svn.sourceforge.net/planeshift/?rev=6313&view=rev Author: weltall2 Date: 2010-10-25 17:46:08 +0000 (Mon, 25 Oct 2010) Log Message: ----------- fixed comments Modified Paths: -------------- trunk/src/client/gui/chatwindow.cpp Modified: trunk/src/client/gui/chatwindow.cpp =================================================================== --- trunk/src/client/gui/chatwindow.cpp 2010-10-25 17:40:28 UTC (rev 6312) +++ trunk/src/client/gui/chatwindow.cpp 2010-10-25 17:46:08 UTC (rev 6313) @@ -823,7 +823,7 @@ char buf[100*reqLines+1]; - // Open file and seek to 1000 bytes from the end, unlikely to need anything earlier than that. + // Open file and seek to 100*line bytes from the end, unlikely to need anything earlier than that. csRef<iFile> file = psengine->GetVFS()->Open(filename, VFS_FILE_READ); if(!file.IsValid()) return; @@ -839,7 +839,7 @@ buf[readLength] = '\0'; - // Find the last 10 lines + // Find the last lines int lines = 0; char* currentPos; csArray<const char*> line; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |