[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

@ -2,7 +2,7 @@ o Version 2.5 (2015.10.??)
Add SHA-256 checksum verification
Add a cheat mode to disable exclusive USB drive locking (Alt-,)
Add digital signature check on update downloads
Fix an issue with improper display of the update settings under some conditions
Fix an where the update settings dialog may not display properly
Report Windows build number in the log (Windows 8 or later)
Localization improvements
Additional translation updates

View File

@ -32,7 +32,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 242, 376
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Rufus 2.5.782"
CAPTION "Rufus 2.5.783"
FONT 8, "Segoe UI Symbol", 400, 0, 0x0
BEGIN
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
@ -319,8 +319,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,5,782,0
PRODUCTVERSION 2,5,782,0
FILEVERSION 2,5,783,0
PRODUCTVERSION 2,5,783,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -337,13 +337,13 @@ BEGIN
BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "2.5.782"
VALUE "FileVersion", "2.5.783"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2015 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "2.5.782"
VALUE "ProductVersion", "2.5.783"
END
END
BLOCK "VarFileInfo"

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