mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-22 10:55:19 -04:00
[loc] fix centering of update settings dialog for RTL languages
* This is part of #621
This commit is contained in:
parent
916eaa4113
commit
0e34d7aa8d
3 changed files with 7 additions and 7 deletions
|
@ -546,7 +546,7 @@ void ResizeMoveCtrl(HWND hDlg, HWND hCtrl, int dx, int dy, int dw, int dh, float
|
|||
SIZE border;
|
||||
|
||||
GetWindowRect(hCtrl, &rect);
|
||||
point.x = right_to_left_mode?rect.right:rect.left;
|
||||
point.x = (right_to_left_mode && (hDlg != hCtrl))?rect.right:rect.left;
|
||||
point.y = rect.top;
|
||||
if (hDlg != hCtrl)
|
||||
ScreenToClient(hDlg, &point);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue