mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-28 13:44:15 -04:00
v3.0 (build 1303)
* Fix a 64-bit compilation warning * Fix appx generation
This commit is contained in:
parent
c3b79a06b7
commit
98ada80b1b
6 changed files with 24 additions and 24 deletions
|
@ -2381,7 +2381,7 @@ static void PositionControls(HWND hDlg)
|
|||
SendMessage(hSaveToolbar, TB_GETIDEALSIZE, (WPARAM)FALSE, (LPARAM)&sz);
|
||||
SendMessage(hSaveToolbar, TB_SETBUTTONSIZE, 0, MAKELPARAM(sz.cx, ddbh));
|
||||
// Microsoft, how I loathe thee!!!
|
||||
padding = SendMessage(hSaveToolbar, TB_GETPADDING, 0, 0);
|
||||
padding = (DWORD) SendMessage(hSaveToolbar, TB_GETPADDING, 0, 0);
|
||||
sz.cx = padding & 0xFFFF;
|
||||
sz.cy = padding >> 16;
|
||||
SendMessage(hSaveToolbar, TB_SETPADDING, 0, MAKELPARAM(sz.cx + 3, sz.cy + 2));
|
||||
|
@ -2393,7 +2393,7 @@ static void PositionControls(HWND hDlg)
|
|||
MapWindowPoints(NULL, hDlg, (POINT*)&rc, 2);
|
||||
SendMessage(hHashToolbar, TB_GETIDEALSIZE, (WPARAM)FALSE, (LPARAM)&sz);
|
||||
SendMessage(hHashToolbar, TB_SETBUTTONSIZE, 0, MAKELPARAM(sz.cx, ddbh));
|
||||
padding = SendMessage(hHashToolbar, TB_GETPADDING, 0, 0);
|
||||
padding = (DWORD) SendMessage(hHashToolbar, TB_GETPADDING, 0, 0);
|
||||
sz.cx = padding & 0xFFFF;
|
||||
sz.cy = padding >> 16;
|
||||
SendMessage(hHashToolbar, TB_SETPADDING, 0, MAKELPARAM(sz.cx + 3, sz.cy + 2));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue