[loc] fix centering of update settings dialog for RTL languages

* This is part of #621
This commit is contained in:
Pete Batard 2015-10-19 22:14:08 +01:00
parent 916eaa4113
commit 0e34d7aa8d
3 changed files with 7 additions and 7 deletions

View file

@ -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);