https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d936dba7ff2731fb78f39…
commit d936dba7ff2731fb78f39c5e059149ad51841325
Author: Ratin Gao <ratin(a)knsoft.org>
AuthorDate: Sun Dec 8 08:14:55 2024 +0800
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Wed Dec 11 08:56:06 2024 +0200
[REACTOS] Fix 'seperate' typos
---
dll/win32/shell32/lang/ca-ES.rc | 2 +-
dll/win32/shell32/lang/da-DK.rc | 2 +-
dll/win32/shell32/lang/en-GB.rc | 2 +-
dll/win32/shell32/lang/en-US.rc | 2 +-
dll/win32/shell32/lang/fi-FI.rc | 2 +-
dll/win32/shell32/lang/ko-KR.rc | 2 +-
dll/win32/shell32/lang/nl-NL.rc | 2 +-
dll/win32/shell32/lang/sl-SI.rc | 2 +-
modules/rostests/apitests/ntdll/RtlQueryTimeZoneInfo.c | 2 +-
ntoskrnl/cache/section/data.c | 2 +-
ntoskrnl/cache/section/fault.c | 4 ++--
sdk/tools/mkisofs/CMakeLists.txt | 2 +-
win32ss/gdi/dib/dib32bpp.c | 2 +-
13 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/dll/win32/shell32/lang/ca-ES.rc b/dll/win32/shell32/lang/ca-ES.rc
index 518dd4329d6..50088b84052 100644
--- a/dll/win32/shell32/lang/ca-ES.rc
+++ b/dll/win32/shell32/lang/ca-ES.rc
@@ -216,7 +216,7 @@ BEGIN
LTEXT "Choose the advanced properties you want for this shortcut.", -1, 5, 30, 210, 10
CHECKBOX "Run with different credentials", IDC_SHORTEX_RUN_DIFFERENT, 25, 50, 150, 10
LTEXT "This option can allow you to run the this shortcut as another user, or continue as yourself while protecting your computer and data from unauthorized program activity.", -1, 50, 60, 175, 40
- CHECKBOX "Run in seperate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
+ CHECKBOX "Run in separate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
PUSHBUTTON "OK", IDOK, 63, 124, 50, 15, WS_VISIBLE
PUSHBUTTON "Abort", IDCANCEL, 120, 124, 50, 15, WS_VISIBLE
END
diff --git a/dll/win32/shell32/lang/da-DK.rc b/dll/win32/shell32/lang/da-DK.rc
index 7ba29c63939..7cb598194ad 100644
--- a/dll/win32/shell32/lang/da-DK.rc
+++ b/dll/win32/shell32/lang/da-DK.rc
@@ -223,7 +223,7 @@ BEGIN
LTEXT "Choose the advanced properties you want for this shortcut.", -1, 5, 30, 210, 10
CHECKBOX "Run with different credentials", IDC_SHORTEX_RUN_DIFFERENT, 25, 50, 150, 10
LTEXT "This option can allow you to run the this shortcut as another user, or continue as yourself while protecting your computer and data from unauthorized program activity.", -1, 50, 60, 175, 40
- CHECKBOX "Run in seperate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
+ CHECKBOX "Run in separate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
PUSHBUTTON "OK", IDOK, 63, 124, 50, 15, WS_VISIBLE
PUSHBUTTON "Abort", IDCANCEL, 120, 124, 50, 15, WS_VISIBLE
END
diff --git a/dll/win32/shell32/lang/en-GB.rc b/dll/win32/shell32/lang/en-GB.rc
index 7d3e5ef59a8..5c7426cba73 100644
--- a/dll/win32/shell32/lang/en-GB.rc
+++ b/dll/win32/shell32/lang/en-GB.rc
@@ -216,7 +216,7 @@ BEGIN
LTEXT "Choose the advanced properties you want for this shortcut.", -1, 5, 30, 210, 10
CHECKBOX "Run with different credentials", IDC_SHORTEX_RUN_DIFFERENT, 25, 50, 150, 10
LTEXT "This option can allow you to run the this shortcut as another user, or continue as yourself while protecting your computer and data from unauthorised program activity.", -1, 50, 60, 175, 40
- CHECKBOX "Run in seperate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
+ CHECKBOX "Run in separate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
PUSHBUTTON "OK", IDOK, 63, 124, 50, 15, WS_VISIBLE
PUSHBUTTON "Abort", IDCANCEL, 120, 124, 50, 15, WS_VISIBLE
END
diff --git a/dll/win32/shell32/lang/en-US.rc b/dll/win32/shell32/lang/en-US.rc
index e8195754991..be1df9decac 100644
--- a/dll/win32/shell32/lang/en-US.rc
+++ b/dll/win32/shell32/lang/en-US.rc
@@ -216,7 +216,7 @@ BEGIN
LTEXT "Choose the advanced properties you want for this shortcut.", -1, 5, 30, 210, 10
CHECKBOX "Run with different credentials", IDC_SHORTEX_RUN_DIFFERENT, 25, 50, 150, 10
LTEXT "This option can allow you to run the this shortcut as another user, or continue as yourself while protecting your computer and data from unauthorized program activity.", -1, 50, 60, 175, 40
- CHECKBOX "Run in seperate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
+ CHECKBOX "Run in separate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
PUSHBUTTON "OK", IDOK, 63, 124, 50, 15, WS_VISIBLE
PUSHBUTTON "Cancel", IDCANCEL, 120, 124, 50, 15, WS_VISIBLE
END
diff --git a/dll/win32/shell32/lang/fi-FI.rc b/dll/win32/shell32/lang/fi-FI.rc
index 6243ce56153..1d7a4be529f 100644
--- a/dll/win32/shell32/lang/fi-FI.rc
+++ b/dll/win32/shell32/lang/fi-FI.rc
@@ -216,7 +216,7 @@ BEGIN
LTEXT "Choose the advanced properties you want for this shortcut.", -1, 5, 30, 210, 10
CHECKBOX "Run with different credentials", IDC_SHORTEX_RUN_DIFFERENT, 25, 50, 150, 10
LTEXT "This option can allow you to run the this shortcut as another user, or continue as yourself while protecting your computer and data from unauthorized program activity.", -1, 50, 60, 175, 40
- CHECKBOX "Run in seperate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
+ CHECKBOX "Run in separate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
PUSHBUTTON "OK", IDOK, 63, 124, 50, 15, WS_VISIBLE
PUSHBUTTON "Abort", IDCANCEL, 120, 124, 50, 15, WS_VISIBLE
END
diff --git a/dll/win32/shell32/lang/ko-KR.rc b/dll/win32/shell32/lang/ko-KR.rc
index 2e4478491ba..b702a01f108 100644
--- a/dll/win32/shell32/lang/ko-KR.rc
+++ b/dll/win32/shell32/lang/ko-KR.rc
@@ -223,7 +223,7 @@ BEGIN
LTEXT "Choose the advanced properties you want for this shortcut.", -1, 5, 30, 210, 10
CHECKBOX "Run with different credentials", IDC_SHORTEX_RUN_DIFFERENT, 25, 50, 150, 10
LTEXT "This option can allow you to run the this shortcut as another user, or continue as yourself while protecting your computer and data from unauthorized program activity.", -1, 50, 60, 175, 40
- CHECKBOX "Run in seperate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
+ CHECKBOX "Run in separate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
PUSHBUTTON "확인", IDOK, 63, 124, 50, 15, WS_VISIBLE
PUSHBUTTON "중단", IDCANCEL, 120, 124, 50, 15, WS_VISIBLE
END
diff --git a/dll/win32/shell32/lang/nl-NL.rc b/dll/win32/shell32/lang/nl-NL.rc
index f3c20c78acc..4ffb90d81eb 100644
--- a/dll/win32/shell32/lang/nl-NL.rc
+++ b/dll/win32/shell32/lang/nl-NL.rc
@@ -216,7 +216,7 @@ BEGIN
LTEXT "Choose the advanced properties you want for this shortcut.", -1, 5, 30, 210, 10
CHECKBOX "Run with different credentials", IDC_SHORTEX_RUN_DIFFERENT, 25, 50, 150, 10
LTEXT "This option can allow you to run the this shortcut as another user, or continue as yourself while protecting your computer and data from unauthorized program activity.", -1, 50, 60, 175, 40
- CHECKBOX "Run in seperate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
+ CHECKBOX "Run in separate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
PUSHBUTTON "OK", IDOK, 63, 124, 50, 15, WS_VISIBLE
PUSHBUTTON "Abort", IDCANCEL, 120, 124, 50, 15, WS_VISIBLE
END
diff --git a/dll/win32/shell32/lang/sl-SI.rc b/dll/win32/shell32/lang/sl-SI.rc
index 516ea2483f2..40013522a90 100644
--- a/dll/win32/shell32/lang/sl-SI.rc
+++ b/dll/win32/shell32/lang/sl-SI.rc
@@ -216,7 +216,7 @@ BEGIN
LTEXT "Choose the advanced properties you want for this shortcut.", -1, 5, 30, 210, 10
CHECKBOX "Run with different credentials", IDC_SHORTEX_RUN_DIFFERENT, 25, 50, 150, 10
LTEXT "This option can allow you to run the this shortcut as another user, or continue as yourself while protecting your computer and data from unauthorized program activity.", -1, 50, 60, 175, 40
- CHECKBOX "Run in seperate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
+ CHECKBOX "Run in separate memory space", IDC_SHORTEX_RUN_SEPARATE, 25, 100, 150, 10, WS_DISABLED
PUSHBUTTON "OK", IDOK, 63, 124, 50, 15, WS_VISIBLE
PUSHBUTTON "Abort", IDCANCEL, 120, 124, 50, 15, WS_VISIBLE
END
diff --git a/modules/rostests/apitests/ntdll/RtlQueryTimeZoneInfo.c b/modules/rostests/apitests/ntdll/RtlQueryTimeZoneInfo.c
index cd645a4c5a7..ed2d8d12876 100644
--- a/modules/rostests/apitests/ntdll/RtlQueryTimeZoneInfo.c
+++ b/modules/rostests/apitests/ntdll/RtlQueryTimeZoneInfo.c
@@ -30,7 +30,7 @@ typedef struct _RTL_SYSTEM_TIME {
/*
* RTL_TIME_ZONE_INFORMATION is the same as the TIME_ZONE_INFORMATION structure
* defined in winbase.h, however we need to define RTL_TIME_ZONE_INFORMATION
- * seperately here so we don't depend on winbase.h.
+ * separately here so we don't depend on winbase.h.
* This is used by RtlQueryTimeZoneInformation and RtlSetTimeZoneInformation.
*/
typedef struct _RTL_TIME_ZONE_INFORMATION {
diff --git a/ntoskrnl/cache/section/data.c b/ntoskrnl/cache/section/data.c
index 3b4aafac89f..b9afadb1fdf 100644
--- a/ntoskrnl/cache/section/data.c
+++ b/ntoskrnl/cache/section/data.c
@@ -60,7 +60,7 @@ of this change is that a mapping of a small files takes a bit more than 1/4
of the size in nonpaged kernel space as it did previously.
When we need other threads that may be competing for the same page fault to
-wait, we have a mechanism seperate from PageOps for dealing with that, which
+wait, we have a mechanism separate from PageOps for dealing with that, which
was suggested by Travis Geiselbrecht after a conversation I had with Alex
Ionescu. That mechanism is the MM_WAIT_ENTRY, which is the all-ones SWAPENTRY.
diff --git a/ntoskrnl/cache/section/fault.c b/ntoskrnl/cache/section/fault.c
index e869dac88fb..10fc379d48d 100644
--- a/ntoskrnl/cache/section/fault.c
+++ b/ntoskrnl/cache/section/fault.c
@@ -498,7 +498,7 @@ MmpFaultWorker(PVOID Parameter)
/*
-This code seperates the action of fault handling into an upper and lower
+This code separates the action of fault handling into an upper and lower
handler to allow the inner handler to optionally be called in work item
if the stack is getting too deep. My experiments show that the third
recursive page fault taken at PASSIVE_LEVEL must be shunted away to a
@@ -739,7 +739,7 @@ MmAccessFaultCacheSection(KPROCESSOR_MODE Mode,
/*
-As above, this code seperates the active part of fault handling from a carrier
+As above, this code separates the active part of fault handling from a carrier
that can use the thread's active fault count to determine whether a work item
is required. Also as above, this function repeatedly calls the active not
present fault handler until a clear success or failure is received, using a
diff --git a/sdk/tools/mkisofs/CMakeLists.txt b/sdk/tools/mkisofs/CMakeLists.txt
index 840e837f611..6674d1f5c4a 100644
--- a/sdk/tools/mkisofs/CMakeLists.txt
+++ b/sdk/tools/mkisofs/CMakeLists.txt
@@ -11,7 +11,7 @@ include_directories(
${REACTOS_BINARY_DIR}/sdk/include)
# libschily and libsiconv are licensed under CDDL whereas mkisofs is licensed under GPL.
-# As such, we cannot mix the library sources with mkisofs sources and have to build them seperately.
+# As such, we cannot mix the library sources with mkisofs sources and have to build them separately.
# Later on, they may still be linked together though.
#
# Reference: http://opensource.stackexchange.com/questions/2094
diff --git a/win32ss/gdi/dib/dib32bpp.c b/win32ss/gdi/dib/dib32bpp.c
index 2b752556cda..5cbec6bdd82 100644
--- a/win32ss/gdi/dib/dib32bpp.c
+++ b/win32ss/gdi/dib/dib32bpp.c
@@ -614,7 +614,7 @@ DIB_32BPP_BitBltSrcCopy(PBLTINFO BltInfo)
* Then we do a flip in place at the destination location and we are done.
*/
if ((BltInfo->SourcePoint.y != BltInfo->DestRect.top) && // The values are not equal and
- (abs(BltInfo->SourcePoint.y - BltInfo->DestRect.top) < (DestHeight + 2)) && // they are NOT seperated by > DestHeight
+ (abs(BltInfo->SourcePoint.y - BltInfo->DestRect.top) < (DestHeight + 2)) && // they are NOT separated by > DestHeight
(BltInfo->SourceSurface->pvScan0 == BltInfo->DestSurface->pvScan0)) // and same surface (probably screen)
{
DPRINT("Flips Need Adjustments, so do move here.\n");
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=34e76ade03659b419b360…
commit 34e76ade03659b419b36058c402c12128e9daac1
Author: Daniel Victor <ilauncherdeveloper(a)gmail.com>
AuthorDate: Fri Nov 22 11:16:17 2024 -0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Wed Dec 11 07:18:34 2024 +0200
[FREELDR] Make it more compatible with w2k3 ini file
---
boot/freeldr/freeldr/lib/inifile/ini_init.c | 11 ++++++++--
boot/freeldr/freeldr/settings.c | 33 ++++++++++++++++++++++++-----
2 files changed, 37 insertions(+), 7 deletions(-)
diff --git a/boot/freeldr/freeldr/lib/inifile/ini_init.c b/boot/freeldr/freeldr/lib/inifile/ini_init.c
index 9992b0b7151..4596eac759f 100644
--- a/boot/freeldr/freeldr/lib/inifile/ini_init.c
+++ b/boot/freeldr/freeldr/lib/inifile/ini_init.c
@@ -38,8 +38,15 @@ BOOLEAN IniFileInitialize(VOID)
if (Status != ESUCCESS)
{
ERR("Error while opening freeldr.ini, Status: %d\n", Status);
- UiMessageBoxCritical("Error opening freeldr.ini or file not found.\nYou need to re-install FreeLoader.");
- return FALSE;
+
+ /* Try to open boot.ini */
+ Status = FsOpenFile("boot.ini", FrLdrBootPath, OpenReadOnly, &FileId);
+ if (Status != ESUCCESS)
+ {
+ ERR("Error while opening boot.ini, Status: %d\n", Status);
+ UiMessageBoxCritical("Error opening freeldr.ini/boot.ini or file not found.\nYou need to re-install FreeLoader.");
+ return FALSE;
+ }
}
/* Get the file size */
diff --git a/boot/freeldr/freeldr/settings.c b/boot/freeldr/freeldr/settings.c
index 7f1e44e51af..fdf284c460c 100644
--- a/boot/freeldr/freeldr/settings.c
+++ b/boot/freeldr/freeldr/settings.c
@@ -126,12 +126,35 @@ LoadSettings(
return;
}
- /* Open the [FreeLoader] section and load the settings */
- if ((BootMgrInfo.FrLdrSection == 0) &&
- !IniOpenSection("FreeLoader", &BootMgrInfo.FrLdrSection))
+ BOOLEAN FoundLoaderSection = FALSE;
+ PCSTR LoaderSections[] = {
+ "FreeLoader",
+ "Boot Loader",
+ "FlexBoot",
+ "MultiBoot",
+ };
+
+ /* Search for the first section in LoaderSections and load the settings,
+ * prioritizing the order in the file.
+ * If a section is already loaded, skip further checks. */
+ if (!BootMgrInfo.FrLdrSection)
{
- UiMessageBoxCritical("Section [FreeLoader] not found in freeldr.ini");
- return;
+ for (ULONG i = 0; i < sizeof(LoaderSections) / sizeof(LoaderSections[0]); i++)
+ {
+ PCSTR Section = LoaderSections[i];
+
+ if (IniOpenSection(Section, &BootMgrInfo.FrLdrSection))
+ {
+ FoundLoaderSection = TRUE;
+ break;
+ }
+ }
+
+ if (!FoundLoaderSection)
+ {
+ UiMessageBoxCritical("Bootloader Section not found in freeldr.ini");
+ return;
+ }
}
/* Get the debug string. Always override it with the one from freeldr.ini */