mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-12-22 12:30:17 +02:00
Update confid.cpp
This commit is contained in:
parent
25db955b61
commit
a7e97e45ee
@ -940,8 +940,7 @@ int ConfirmationID::Generate(const char* installation_id_str, char confirmation_
|
|||||||
for (; *p; p++) {
|
for (; *p; p++) {
|
||||||
*p = toupper((unsigned char)*p);
|
*p = toupper((unsigned char)*p);
|
||||||
}
|
}
|
||||||
p = &channelid[0];
|
if (strcmp(&channelid[0], "OEM") == 0) {
|
||||||
if (strcmp(p, "OEM") == 0) {
|
|
||||||
productID[3] = ((stoi(productid.substr(10,2))) * 1000) + productID[3];
|
productID[3] = ((stoi(productid.substr(10,2))) * 1000) + productID[3];
|
||||||
} else {
|
} else {
|
||||||
productID[3] = ((stoi(productid.substr(18,2))) * 1000) + productID[3];
|
productID[3] = ((stoi(productid.substr(18,2))) * 1000) + productID[3];
|
||||||
|
Loading…
Reference in New Issue
Block a user