https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a3cadf630a9b3a61f4ae8…
commit a3cadf630a9b3a61f4ae8525aef7af07e4b53c0d
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Wed Jun 16 11:41:56 2021 +0200
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Wed Jun 16 11:41:56 2021 +0200
[COMCTL32] Strip EOL whitespace within ifdef __REACTOS__ section
no functional change.
Make that look beautiful before porting it back further.
Addendum to 0.4.15-dev-534-g 887764e6075fdde7fb81d2a54d5255164c046511
(CORE-17062)
---
dll/win32/comctl32/static.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dll/win32/comctl32/static.c b/dll/win32/comctl32/static.c
index b30f0532f3a..b4e240ad91a 100644
--- a/dll/win32/comctl32/static.c
+++ b/dll/win32/comctl32/static.c
@@ -105,9 +105,9 @@ static BOOL get_icon_size( HICON handle, SIZE *size )
size->cy = bmp.bmHeight;
#ifdef __REACTOS__
/*
- If this structure defines a black and white icon, this bitmask is formatted
- so that the upper half is the icon AND bitmask and the lower half is
- the icon XOR bitmask.
+ If this structure defines a black and white icon, this bitmask is formatted
+ so that the upper half is the icon AND bitmask and the lower half is
+ the icon XOR bitmask.
*/
if (!info.hbmColor)
size->cy /= 2;
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d5265b07bbfb6ac6da190…
commit d5265b07bbfb6ac6da190b8213cf2f3f8d9cd675
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Sun Jun 13 15:30:49 2021 +0200
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Sun Jun 13 15:30:49 2021 +0200
[MSI] Enumerate only type DRIVE_FIXED CORE-17623 (& CORE-14432)
MSI on 2k3sp2 hides empty CD-ROM, and hides CD-ROM with iso mounted.
MSI on 2k3sp2 hides VBox shares, both: writable and read-only-ones.
MSI on 2k3sp2 hides floppy drives with a floppy img mounted.
MSI on XPSP3 hides a mounted writable USB stick.
Thanks to the patches author Doug Lyons.
This patch supersedes
0.4.15-dev-2651-g 864e20b881130cbc9668b8e253a31b8c325e9b99 (CORE-14432)
and we are also better than Wines
https://source.winehq.org/git/wine.git/commit/0dd0d879a1c487dcefedd44762d4e…
---
dll/win32/msi/dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/msi/dialog.c b/dll/win32/msi/dialog.c
index 2ed6815ad6b..7a8417ff70c 100644
--- a/dll/win32/msi/dialog.c
+++ b/dll/win32/msi/dialog.c
@@ -3238,7 +3238,7 @@ static void msi_dialog_vcl_add_drives( msi_dialog *dialog, msi_control *control
while (*ptr)
{
#ifdef __REACTOS__
- if (GetDriveTypeW(ptr) == DRIVE_CDROM)
+ if (GetDriveTypeW(ptr) != DRIVE_FIXED)
{
ptr += lstrlenW(ptr) + 1;
continue;