mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-04 08:29:50 -04:00
[bb] fix rand() initialization
* What do you know, srand() is thread-local...
This commit is contained in:
parent
cbf01071ab
commit
8128d34e35
3 changed files with 7 additions and 6 deletions
|
@ -3073,7 +3073,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
|||
uprintf("Failed to enable AutoMount");
|
||||
}
|
||||
}
|
||||
srand((unsigned int)_GetTickCount64());
|
||||
|
||||
relaunch:
|
||||
uprintf("localization: using locale '%s'\n", selected_locale->txt[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue