* Misc.subproj/WebNSURLExtras.m: (readIDNScriptWhiteListFile): Use "index" to index into the array,
not "script", which is the script number, not the 32-bit-word index.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8803
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-03-06 Darin Adler <darin@apple.com>
+
+ - fixed obvious mistake in IDN script code (luckily it hasn't been in a submission yet!)
+
+ * Misc.subproj/WebNSURLExtras.m: (readIDNScriptWhiteListFile): Use "index" to index into the array,
+ not "script", which is the script number, not the 32-bit-word index.
+
2005-03-05 Kevin Decker <kdecker@apple.com>
Reviewed by Darin.
if (IDNScriptWhiteList[index] & mask) {
NSLog(@"%@: script code %s is listed twice\n", filename, word);
}
- IDNScriptWhiteList[script] |= mask;
+ IDNScriptWhiteList[index] |= mask;
}
}
}