Module: wine
Branch: master
Commit: 3ad882ff24d5bc12e8b37573ed46091f4f43a811
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3ad882ff24d5bc12e8b37573e…
Author: Michael Stefaniuc <mstefani(a)redhat.de>
Date: Fri Jul 1 10:43:35 2016 +0200
comdlg32: Use InflateRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani(a)redhat.de>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/comdlg32/printdlg.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/dlls/comdlg32/printdlg.c b/dlls/comdlg32/printdlg.c
index a389e53..83335a9 100644
--- a/dlls/comdlg32/printdlg.c
+++ b/dlls/comdlg32/printdlg.c
@@ -3617,11 +3617,8 @@ PRINTDLG_PagePaintProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
default_page_paint_hook(hWnd, WM_PSD_MARGINRECT, (WPARAM)hdc, (LPARAM)&rcMargin, data);
/* give text a bit of a space from the frame */
- rcMargin.left += 2;
- rcMargin.top += 2;
- rcMargin.right -= 2;
- rcMargin.bottom -= 2;
-
+ InflateRect(&rcMargin, -2, -2);
+
/* if the space is too small then we make sure to not draw anything */
rcMargin.left = min(rcMargin.left, rcMargin.right);
rcMargin.top = min(rcMargin.top, rcMargin.bottom);
Module: wine
Branch: master
Commit: c8d1fbc6d2170d935301e7c54244af5ab873c7ba
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c8d1fbc6d2170d935301e7c54…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Sat Jul 2 12:00:39 2016 +0200
kernel32: Fix typos in a couple of comments.
Signed-off-by: Francois Gouget <fgouget(a)free.fr>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/kernel32/locale.c | 2 +-
dlls/kernel32/volume.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 39769ff..fefa373 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -915,7 +915,7 @@ void LOCALE_InitRegistry(void)
/***********************************************************************
* get_mac_locale
*
- * Return a locale identifer string reflecting the Mac locale, in a form
+ * Return a locale identifier string reflecting the Mac locale, in a form
* that parse_locale_name() will understand. So, strip out unusual
* things like script, variant, etc. Or, rather, just construct it as
* <lang>[_<country>].UTF-8.
diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c
index 4f01c99..68cc762 100644
--- a/dlls/kernel32/volume.c
+++ b/dlls/kernel32/volume.c
@@ -416,7 +416,7 @@ static enum fs_type VOLUME_ReadCDSuperblock( HANDLE handle, BYTE *buff )
/* Check UDF first as UDF and ISO9660 structures can coexist on the same medium
* Starting from sector 16, we may find :
* - a CD-ROM Volume Descriptor Set (ISO9660) containing one or more Volume Descriptors
- * - an Extented Area (UDF) -- [E] 2/8.3.1 and [U] 2.1.7
+ * - an Extended Area (UDF) -- [E] 2/8.3.1 and [U] 2.1.7
* There is no explicit end so read 16 sectors and then give up */
for( i=16; i<16+16; i++)
{