case insensitive key lookup, reported by zhuzheng

This commit is contained in:
Brian Matzon 2004-12-07 23:07:03 +00:00
parent f4ed91d9a5
commit df870c3861
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ static char * getDriver() {
// szAdapterKey now contains something like \Registry\Machine\System\CurrentControlSet\Control\Video\{B70DBD2A-90C4-41CF-A58E-F3BA69F1A6BC}\0000
// We'll check for the first chunk:
if (strncmp("\\Registry\\Machine", szAdapterKey, 17) == 0) {
if (strnicmp("\\Registry\\Machine", szAdapterKey, 17) == 0) {
// Yes, it's right, so let's look for that key now
TCHAR szDriverKey[MY_BUFSIZE];