mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 02:51:27 +00:00
Update4 for MSVC10
Fix for loop scope problems.
This commit is contained in:
@ -1241,7 +1241,8 @@ static ENetError FixupPlayerName (wchar * name) {
|
||||
// Trim leading and trailing whitespace and convert
|
||||
// multiple internal spaces into only one space
|
||||
unsigned nonSpaceChars = 0;
|
||||
for (wchar *src = name, *dst = name; *src; ) {
|
||||
wchar *dst = name;
|
||||
for (wchar *src = name; *src; ) {
|
||||
// Skip whitespace
|
||||
while (*src && ICharIsSpace(*src))
|
||||
src++;
|
||||
|
Reference in New Issue
Block a user