https://git.reactos.org/?p=reactos.git;a=commitdiff;h=887764e6075fdde7fb81d…
commit 887764e6075fdde7fb81d2a54d5255164c046511
Author: Jose Carlos Jesus <zecarlos1957(a)hotmail.com>
AuthorDate: Thu May 21 20:52:13 2020 +0100
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Sun Aug 16 18:42:12 2020 +0300
[COMCTL32] Fix issue on showing current mouse pointer (#2829)
GetIconInfo() fill info.hbmColor with NULL HBITMAP handle on black/white bitmaps.
CORE-17062
---
dll/win32/comctl32/static.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/dll/win32/comctl32/static.c b/dll/win32/comctl32/static.c
index f136f2cc79c..b30f0532f3a 100644
--- a/dll/win32/comctl32/static.c
+++ b/dll/win32/comctl32/static.c
@@ -94,11 +94,24 @@ static BOOL get_icon_size( HICON handle, SIZE *size )
if (!GetIconInfo(handle, &info))
return FALSE;
+#ifdef __REACTOS__
+ ret = GetObjectW(info.hbmMask, sizeof(bmp), &bmp);
+#else
ret = GetObjectW(info.hbmColor, sizeof(bmp), &bmp);
+#endif
if (ret)
{
size->cx = bmp.bmWidth;
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 (!info.hbmColor)
+ size->cy /= 2;
+#endif
}
DeleteObject(info.hbmMask);
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9900089fa67dc6d26aa5f…
commit 9900089fa67dc6d26aa5fd93212deb1be579d8f3
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Sun Aug 16 16:06:52 2020 +0300
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Sun Aug 16 16:06:52 2020 +0300
[SHELL32] Fix Russian translation
Addendum to 5187ec8 and 824a52a. CORE-10972 CORE-12906
---
dll/win32/shell32/lang/ru-RU.rc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/shell32/lang/ru-RU.rc b/dll/win32/shell32/lang/ru-RU.rc
index 997a4a63003..406a0937b34 100644
--- a/dll/win32/shell32/lang/ru-RU.rc
+++ b/dll/win32/shell32/lang/ru-RU.rc
@@ -999,8 +999,8 @@ BEGIN
IDS_SPECIFY_ACTION "Необходимо задать действие."
IDS_INVALID_PROGRAM "Указанная программа не найдена. Убедитесь, что имя и путь к файлу указаны правильно."
IDS_REMOVE_ACTION "Вы действительно хотите удалить это действие?"
- IDS_ACTION_EXISTS "Действие '%s' уже зарегистрирован для этого типа файла. Введите другое имя и повторите попытку."
- IDS_EXE_FILTER "Programs\0*.exe\0All Files\0*.*\0"
+ IDS_ACTION_EXISTS "Действие '%s' уже зарегистрировано для этого типа файла. Введите другое имя и повторите попытку."
+ IDS_EXE_FILTER "Программы\0*.exe\0Все файлы\0*.*\0"
IDS_EDITING_ACTION "Изменение действия для типа: "
IDS_NO_ICONS "Файл '%s' не содержит значков.\n\nВыберите значок из списка или укажите другой файл."
IDS_FILE_NOT_FOUND "Файл '%s' не найден."