[mw-devel] MW3 r898 - branches/newipc/src
pwb at sucs.org
pwb at sucs.org
Sat Jul 29 01:56:51 BST 2006
Author: pwb
Date: 2006-07-29 01:56:48 +0100 (Sat, 29 Jul 2006)
New Revision: 898
Modified:
branches/newipc/src/user.c
Log:
merge changes from [897]
Modified: branches/newipc/src/user.c
===================================================================
--- branches/newipc/src/user.c 2006-07-29 00:42:43 UTC (rev 897)
+++ branches/newipc/src/user.c 2006-07-29 00:56:48 UTC (rev 898)
@@ -119,7 +119,7 @@
array=(char *)malloc(len+1);
for (i=0;i<len;i++)
{
- if (isalnum(string[i]) || string[i]=='_' || string[i]=='-')
+ if (isascii(string[i]) && (isalnum(string[i]) || string[i]=='_' || string[i]=='-'))
array[ptr++]=string[i];
}
array[ptr]=0;
More information about the mw-devel
mailing list