- Timestamp:
- Oct 4, 1999, 10:53:08 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/version/version.cpp
r1106 r1132 1 /* $Id: version.cpp,v 1. 6 1999-10-02 04:09:55sandervl Exp $ */1 /* $Id: version.cpp,v 1.7 1999-10-04 20:53:08 sandervl Exp $ */ 2 2 3 3 /* … … 79 79 while ( (DWORD)child < (DWORD)info + info->wLength ) 80 80 { 81 // if ( !lstrcmpniW( child->szKey, szKey, cbKey ) ) 82 if ( !lstrcmpiW( child->szKey, szKey) ) 81 if ( !lstrcmpniW( child->szKey, szKey, cbKey ) ) 83 82 return child; 84 83 … … 475 474 AsciiToUnicode((char *)lpSubBlock, ustring); 476 475 rc = VerQueryValueW( pBlock, (LPWSTR)ustring, &ubuffer, &len); 476 if(rc == 0) { 477 free(ustring); 478 return 0; 479 } 477 480 if(lpSubBlock[0] == '\\' && lpSubBlock[1] == 0) 478 481 *lplpBuffer = ubuffer;
Note:
See TracChangeset
for help on using the changeset viewer.