Commit in reactos/lib/msvcrt/wstring on MAIN
wcstok.c+3-31.5 -> 1.6
- Fixed some pointer increments/decrements.

reactos/lib/msvcrt/wstring
wcstok.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- wcstok.c	16 Jul 2003 21:54:22 -0000	1.5
+++ wcstok.c	22 Aug 2004 20:13:44 -0000	1.6
@@ -36,7 +36,7 @@
 		*wlasttoken = NULL;
 		return (NULL);
 	}
-	tok = s - 2;
+	tok = s - 1;
 
 	/*
 	 * Scan token (scan for ctiters: s += strcspn(s, ct), sort of).
@@ -44,7 +44,7 @@
 	 */
 	for (;;) {
 		c = *s;
-		s+=2;
+		s++;
 		spanp = ct;
 		do {
 			if ((sc = *spanp) == c) {
@@ -55,7 +55,7 @@
 				*wlasttoken = s;
 				return (tok);
 			}
-			spanp+=2;
+			spanp++;
 		} while (sc != 0);
 	}
 	/* NOTREACHED */
CVSspam 0.2.8