This reverts commit 179cb50557.
This commit is contained in:
parent
179cb50557
commit
c2ecc76457
588 changed files with 16260 additions and 10926 deletions
|
|
@ -316,10 +316,9 @@ namespace Server
|
|||
{
|
||||
bin.Read(m_StringBuffer, 0, 20);
|
||||
|
||||
int count = 0;
|
||||
while (count < 20 && m_StringBuffer[count++] != 0)
|
||||
{
|
||||
}
|
||||
int count;
|
||||
|
||||
for (count = 0; count < 20 && m_StringBuffer[count] != 0; ++count) ;
|
||||
|
||||
return Encoding.ASCII.GetString(m_StringBuffer, 0, count);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue