mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
More picky compiler / standards fixes
This commit is contained in:
@ -1225,7 +1225,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