mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-24 03:36:56 -04:00
[loc] fix various localization issues
* Fix missing [b]ase for Chinese and French * Fix infinite loop when [b]ase is not available for default * Fix resizing of main dialog forces forcing pos to 0,0
This commit is contained in:
parent
1cdb58462b
commit
ff28e2027c
7 changed files with 18 additions and 12 deletions
|
@ -466,7 +466,7 @@ void ResizeMoveCtrl(HWND hDlg, HWND hCtrl, int dx, int dy, int dw, int dh)
|
|||
GetWindowRect(hCtrl, &rect);
|
||||
point.x = rect.left;
|
||||
point.y = rect.top;
|
||||
ScreenToClient(hDlg, &point);
|
||||
ScreenToClient((hDlg==hMainDialog)?hDlg:NULL, &point);
|
||||
GetClientRect(hCtrl, &rect);
|
||||
|
||||
// If we're dealing with a dialog, we must take the border into account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue