mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 18:05:21 -04:00
[iso] don't link with version.lib to prevent DLL sideloading issues
* This is part of #1838, where we need to sort the version.dll sideloading problem for MinGW. * A subsequent patch will be applied to MSVC, to more generally delay the loading of DLLs. * Also fix a typo with an assert expression.
This commit is contained in:
parent
e495c691ea
commit
f6ac559f4d
6 changed files with 34 additions and 16 deletions
2
src/ui.c
2
src/ui.c
|
@ -577,7 +577,7 @@ void SetSectionHeaders(HWND hDlg)
|
|||
memset(wtmp, 0, sizeof(wtmp));
|
||||
GetWindowTextW(hCtrl, wtmp, ARRAYSIZE(wtmp) - 4);
|
||||
wlen = wcslen(wtmp);
|
||||
assert(wlen < ARRAYSIZE(wtmp - 2));
|
||||
assert(wlen < ARRAYSIZE(wtmp) - 2);
|
||||
wtmp[wlen++] = L' ';
|
||||
wtmp[wlen++] = L' ';
|
||||
SetWindowTextW(hCtrl, wtmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue