moved to inner loop

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40645
This commit is contained in:
David Anderson 2007-03-16 22:49:52 +00:00
parent b89b932f15
commit c6183b14b0

View File

@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
ReadSimpleUsers()
public ReadSimpleUsers()
{
BuildPath(Path_SM, g_Filename, sizeof(g_Filename), "configs/admins_simple.ini");
@ -32,7 +32,10 @@ ReadSimpleUsers()
while (!IsEndOfFile(file))
{
decl String:line[255];
ReadFileLine(file, line, sizeof(line));
if (!ReadFileLine(file, line, sizeof(line)))
{
break;
}
if ((line[0] == '/' && line[1] == '/')
|| (line[0] == ';' || line[0] == '\0'))