https://git.reactos.org/?p=reactos.git;a=commitdiff;h=94fd5099ca130477e67bf…
commit 94fd5099ca130477e67bf2c599b4caac7b34be5b
Author: Bișoc George <fraizeraust99(a)gmail.com>
AuthorDate: Fri Jan 4 23:14:16 2019 +0100
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Fri Jan 4 23:14:16 2019 +0100
[OSK] Fix a sentence in Italian resource (#1219)
Addendum to 76002778 (see the comment left).
---
base/applications/osk/lang/it-IT.rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/osk/lang/it-IT.rc b/base/applications/osk/lang/it-IT.rc
index e63092de54..96c733487f 100644
--- a/base/applications/osk/lang/it-IT.rc
+++ b/base/applications/osk/lang/it-IT.rc
@@ -134,7 +134,7 @@ FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK", IDOK, 193, 76, 50, 14
ICON IDI_OSK, IDC_STATIC, 7, 17, 20, 20
- LTEXT "La tastiera virtuale fornisce un livello minimo di funzionalità per gli utenti con mobilità ridotta. Gli utenti con mobilità ridotta hanno bisogno di questa programma con maggiore funzionalità per un uso giornaliero.", IDC_STATIC, 36, 7, 207, 33
+ LTEXT "La tastiera virtuale fornisce un livello minimo di funzionalità per gli utenti con mobilità ridotta. Gli utenti con mobilità ridotta hanno bisogno di un programma con maggiori funzionalità per un uso giornaliero.", IDC_STATIC, 36, 7, 207, 33
CONTROL "Non visualizzare più questo messaggio", IDC_SHOWWARNINGCHECK, "Button",
BS_AUTOCHECKBOX | WS_TABSTOP, 43, 80, 137, 10
END
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b3399c68e9cde2baeb10c…
commit b3399c68e9cde2baeb10c36332fc6da421f0caf8
Author: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
AuthorDate: Fri Jan 4 19:38:36 2019 +0200
Commit: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
CommitDate: Fri Jan 4 19:38:36 2019 +0200
[WINSRV] ConSrvConnect: Always store the control dispatcher routine
This shouldn't be used only for console applications but can potentially be used by any application to receive shutdown notifications.
MSDN provides more information in the documentation for SetConsoleCtrlHandler. Our services.exe also expect to receive shutdown notifications in this way.
---
win32ss/user/winsrv/consrv/init.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/win32ss/user/winsrv/consrv/init.c b/win32ss/user/winsrv/consrv/init.c
index ab89f7f76e..eea8cf890f 100644
--- a/win32ss/user/winsrv/consrv/init.c
+++ b/win32ss/user/winsrv/consrv/init.c
@@ -428,6 +428,9 @@ ConSrvConnect(IN PCSR_PROCESS CsrProcess,
return STATUS_UNSUCCESSFUL;
}
+ /* Set Control-Dispatcher handler */
+ ProcessData->CtrlRoutine = ConnectInfo->CtrlRoutine;
+
/* If we don't need a console, then get out of here */
DPRINT("ConnectInfo->IsConsoleApp = %s\n", ConnectInfo->IsConsoleApp ? "True" : "False");
if (!ConnectInfo->IsConsoleApp) return STATUS_SUCCESS;
@@ -525,9 +528,8 @@ ConSrvConnect(IN PCSR_PROCESS CsrProcess,
}
}
- /* Set the Property-Dialog and Control-Dispatcher handlers */
+ /* Set the Property-Dialog handler */
ProcessData->PropRoutine = ConnectInfo->PropRoutine;
- ProcessData->CtrlRoutine = ConnectInfo->CtrlRoutine;
return STATUS_SUCCESS;
}