forked from reactos/reactos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TRANSLATION] Shell32 minimal changes.
- Loading branch information
Showing
3 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git "a/win32ss/user/ntuser/nonclient.c" "b/win32ss/user/ntuser/nonclient.c" | ||
index a3852066b69..c3be76119b3 100644 | ||
--- "a/win32ss/user/ntuser/nonclient.c" | ||
+++ "b/win32ss/user/ntuser/nonclient.c" | ||
@@ -394,11 +394,13 @@ DefWndDoSizeMove(PWND pwnd, WORD wParam) | ||
if (msg.message == WM_KEYDOWN && (msg.wParam == VK_RETURN || msg.wParam == VK_ESCAPE)) | ||
break; // Exit on Return or Esc | ||
|
||
- if (!g_bWindowSnapEnabled && (msg.message == WM_LBUTTONUP)) | ||
+ if (!g_bWindowSnapEnabled && (msg.message == WM_LBUTTONUP || | ||
+ (msg.message == WM_MOUSEMOVE && (msg.wParam & MK_LBUTTON) != MK_LBUTTON))) | ||
{ // If no WindowSnapEnabled: Exit on button-up immediately | ||
break; | ||
} | ||
- else if (g_bWindowSnapEnabled && msg.message == WM_LBUTTONUP) | ||
+ else if (g_bWindowSnapEnabled && (msg.message == WM_LBUTTONUP || | ||
+ (msg.message == WM_MOUSEMOVE && (msg.wParam & MK_LBUTTON) != MK_LBUTTON))) | ||
{ // If WindowSnapEnabled: Decide whether to snap before exiting | ||
DWORD ExStyleTB, StyleTB; | ||
BOOL IsTaskBar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* PURPOSE: Spanish resource file | ||
* TRANSLATORS: Copyright 2014-2015 Ismael Ferreras Morezuelas <[email protected]> | ||
* Copyright 2018 Julio Carchi Ruiz <[email protected]> | ||
* Copyright 2020 Julen Urizar Compains <[email protected]> | ||
* Copyright 2024 Julen Urizar Compains <[email protected]> | ||
*/ | ||
|
||
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL | ||
|
@@ -898,7 +898,7 @@ BEGIN | |
IDS_NETWORKPLACE "Mis sitios de red" | ||
|
||
IDS_NEWFOLDER "Nueva carpeta" | ||
IDS_NEWITEMFORMAT "New %s" | ||
IDS_NEWITEMFORMAT "Nuevo %s" | ||
|
||
IDS_DRIVE_FIXED "Disco local" | ||
IDS_DRIVE_CDROM "Unidad de CD" | ||
|
@@ -915,7 +915,7 @@ BEGIN | |
|
||
IDS_SHELL_ABOUT_AUTHORS "&Autores" | ||
IDS_SHELL_ABOUT_BACK "< A&trás" | ||
FCIDM_SHVIEW_NEW "Ne&w" /* A menu item with an ampersand */ | ||
FCIDM_SHVIEW_NEW "N&uevo" /* A menu item with an ampersand */ | ||
FCIDM_SHVIEW_NEWFOLDER "Nueva &carpeta" | ||
FCIDM_SHVIEW_NEWLINK "Nuevo &acceso directo" | ||
IDS_FOLDER_OPTIONS "Opciones de carpeta" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/ntoskrnl/mm/ARM3/syspte.c b/ntoskrnl/mm/ARM3/syspte.c | ||
index 87b862c265f..059aebd3a8d 100644 | ||
--- a/ntoskrnl/mm/ARM3/syspte.c | ||
+++ b/ntoskrnl/mm/ARM3/syspte.c | ||
@@ -247,7 +247,10 @@ MiReserveSystemPtes(IN ULONG NumberOfPtes, | ||
IN MMSYSTEM_PTE_POOL_TYPE SystemPtePoolType) | ||
{ | ||
PMMPTE PointerPte; | ||
- | ||
+ if( NumberOfPtes > 32768 ) | ||
+ { | ||
+ return NULL; | ||
+ } | ||
// | ||
// Use the extended function | ||
// |