https://git.reactos.org/?p=reactos.git;a=commitdiff;h=793e9f20ef84873705a78…
commit 793e9f20ef84873705a782165e5c446b133e19e7
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Fri Mar 10 18:03:02 2023 +0100
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Fri Mar 10 18:03:02 2023 +0100
[DXDIAG] Fix text truncation on button for french fr-FR.rc CORE-18853
By shortening the text to what MS Windows uses there.
See the 2k3sp2 pic in the ticket.
---
base/applications/dxdiag/lang/fr-FR.rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/dxdiag/lang/fr-FR.rc b/base/applications/dxdiag/lang/fr-FR.rc
index c3e48b23fe9..9cecdaf4a59 100644
--- a/base/applications/dxdiag/lang/fr-FR.rc
+++ b/base/applications/dxdiag/lang/fr-FR.rc
@@ -185,7 +185,7 @@ BEGIN
LTEXT "Vous ne trouvez pas les informations que vous cherchez ? Voici ce que vous pouvez faire :", IDC_STATIC, 5, 0, 300, 10
PUSHBUTTON "Informations système", IDC_BUTTON_SYSINFO, 5, 20, 80, 14, WS_DISABLED
LTEXT "Affiche des informations système complémentaires", IDC_STATIC, 90, 23, 300, 10
- PUSHBUTTON "Remplacer la freq. de rafraichissement", IDC_BUTTON_DDRAW_REFRESH, 5, 40, 80, 14, WS_DISABLED
+ PUSHBUTTON "Remplacer...", IDC_BUTTON_DDRAW_REFRESH, 5, 40, 80, 14, WS_DISABLED
LTEXT "Remplacer la freq. de rafraichissement pour DirectDraw", IDC_STATIC, 90, 43, 300, 10
END
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4585372c6ddd86c02ee84…
commit 4585372c6ddd86c02ee84f9252a529d549af1cad
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Mon Jan 9 12:11:19 2023 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Mar 9 18:26:02 2023 +0100
[NTOS:IO/KD/KDBG] Formatting fixes only.
---
ntoskrnl/io/iomgr/iomgr.c | 6 +++---
ntoskrnl/io/iomgr/iotimer.c | 2 +-
ntoskrnl/kd/kdmain.c | 2 +-
ntoskrnl/kdbg/kdb_cli.c | 5 +++--
4 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/ntoskrnl/io/iomgr/iomgr.c b/ntoskrnl/io/iomgr/iomgr.c
index 0e901c605e9..380a8518661 100644
--- a/ntoskrnl/io/iomgr/iomgr.c
+++ b/ntoskrnl/io/iomgr/iomgr.c
@@ -584,8 +584,8 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
return FALSE;
}
- // the disk subsystem is initialized here and the SystemRoot is set too
- // we can finally load other drivers from the boot volume
+ /* The disk subsystem is initialized here and the SystemRoot is set too.
+ * We can finally load other drivers from the boot volume. */
PnPBootDriversInitialized = TRUE;
#if !defined(_WINKD_) && defined(KDBG)
@@ -640,7 +640,7 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
return FALSE;
}
- /* Load the System DLL and its Entrypoints */
+ /* Load the System DLL and its entrypoints */
Status = PsLocateSystemDll();
if (!NT_SUCCESS(Status))
{
diff --git a/ntoskrnl/io/iomgr/iotimer.c b/ntoskrnl/io/iomgr/iotimer.c
index 9c62db19a11..4bd8ab2ca1f 100644
--- a/ntoskrnl/io/iomgr/iotimer.c
+++ b/ntoskrnl/io/iomgr/iotimer.c
@@ -39,7 +39,7 @@ IopTimerDispatch(IN PKDPC Dpc,
PIO_TIMER Timer;
ULONG i;
- /* Check if any Timers are actualyl enabled as of now */
+ /* Check if any Timers are actually enabled as of now */
if (IopTimerCount)
{
/* Lock the Timers */
diff --git a/ntoskrnl/kd/kdmain.c b/ntoskrnl/kd/kdmain.c
index 76e28962a98..073a128ef3a 100644
--- a/ntoskrnl/kd/kdmain.c
+++ b/ntoskrnl/kd/kdmain.c
@@ -36,7 +36,7 @@ KdpGetDebugMode(PCHAR Currentp2)
/* Check for Serial Debugging */
else if (!_strnicmp(p2, "COM", 3))
{
- /* Gheck for a valid Serial Port */
+ /* Check for a valid Serial Port */
p2 += 3;
if (*p2 != ':')
{
diff --git a/ntoskrnl/kdbg/kdb_cli.c b/ntoskrnl/kdbg/kdb_cli.c
index 4a351db9afe..114f4116838 100644
--- a/ntoskrnl/kdbg/kdb_cli.c
+++ b/ntoskrnl/kdbg/kdb_cli.c
@@ -3832,7 +3832,8 @@ KdbpCliInit(VOID)
}
/* Get the size of the file */
- Status = ZwQueryInformationFile(hFile, &Iosb, &FileStdInfo, sizeof(FileStdInfo),
+ Status = ZwQueryInformationFile(hFile, &Iosb,
+ &FileStdInfo, sizeof(FileStdInfo),
FileStandardInformation);
if (!NT_SUCCESS(Status))
{
@@ -3855,7 +3856,7 @@ KdbpCliInit(VOID)
Status = ZwReadFile(hFile, NULL, NULL, NULL, &Iosb, FileBuffer, FileSize, NULL, NULL);
ZwClose(hFile);
- if (!NT_SUCCESS(Status) && Status != STATUS_END_OF_FILE)
+ if (!NT_SUCCESS(Status) && (Status != STATUS_END_OF_FILE))
{
ExFreePool(FileBuffer);
DPRINT("Could not read KDBinit file into memory (Status 0x%lx)\n", Status);