Fix Number

This commit is contained in:
love-code-yeyixiao 2024-08-02 21:23:06 +08:00
parent 76b813d4db
commit 4b51f099b9
1 changed files with 4 additions and 4 deletions

View File

@ -1649,10 +1649,10 @@ _FX BOOLEAN Custom_ProductID(void) {
RtlInitUnicodeString(&uni, L"ProductId"); RtlInitUnicodeString(&uni, L"ProductId");
seed = GetTickCount(); seed = GetTickCount();
int chain1 = my_rand() % 100000 + 99999, int chain1 = my_rand() % 10000 + 9999,
chain2 = my_rand() % 100000 + 99999, chain2 = my_rand() % 10000 + 9999,
chain3 = my_rand() % 100000 + 99999, chain3 = my_rand() % 10000 + 9999,
chain4 = my_rand() % 100000 + 99999 chain4 = my_rand() % 10000 + 9999
; ;
Sbie_snwprintf(tmp, 34, L"%05d-%05d-%05d-%05d", chain1, chain2, chain3, chain4); Sbie_snwprintf(tmp, 34, L"%05d-%05d-%05d-%05d", chain1, chain2, chain3, chain4);
//RtlInitUnicodeString(&buf, tmp); //RtlInitUnicodeString(&buf, tmp);