From 0e34d7aa8dc2b5cd8c58d95cc7e594b437b09b35 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Mon, 19 Oct 2015 22:14:08 +0100 Subject: [PATCH] [loc] fix centering of update settings dialog for RTL languages * This is part of #621 --- ChangeLog.txt | 2 +- src/rufus.rc | 10 +++++----- src/stdlg.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index f19c5050..c834af9e 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -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 diff --git a/src/rufus.rc b/src/rufus.rc index 9a09b2d9..b08e68fb 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -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" diff --git a/src/stdlg.c b/src/stdlg.c index 4301e1f8..7d95df14 100644 --- a/src/stdlg.c +++ b/src/stdlg.c @@ -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);