https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ea3973f12e4213249d87d…
commit ea3973f12e4213249d87dfe130fa21099ab5f3ea
Author: Adam Słaboń <asaillen456esx(a)gmail.com>
AuthorDate: Mon Oct 12 13:48:49 2020 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Oct 12 14:48:49 2020 +0300
[BOOTDATA] Comment out vgaoem.fon (#3291)
This font has been added in 383ea7d and then disabled from builds in 4cd2a93 due to regressions it was causing.
Also disable it in registry to not break NTLDR boot again.
---
boot/bootdata/hivesys.inf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/bootdata/hivesys.inf b/boot/bootdata/hivesys.inf
index 5e201a59a71..30bb1a01944 100644
--- a/boot/bootdata/hivesys.inf
+++ b/boot/bootdata/hivesys.inf
@@ -992,7 +992,7 @@ HKLM,"SYSTEM\CurrentControlSet\Control\Nls\CodePage","28606",0x00000000,"c_28606
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\CodePage","ACP",0x00000000,"1252"
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\CodePage","OEMCP",0x00000000,"437"
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\CodePage","MACCP",0x00000000,"10000"
-HKLM,"SYSTEM\CurrentControlSet\Control\Nls\CodePage","OEMHAL",0x00000000,"vgaoem.fon"
+;HKLM,"SYSTEM\CurrentControlSet\Control\Nls\CodePage","OEMHAL",0x00000000,"vgaoem.fon"
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\CodePage\EUDCCodeRange","932",2,"F040-F9FC"
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\CodePage\EUDCCodeRange","936",2,"AAA1-AFFE,F8A1-FEFE,A140-A7A0"
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a91a709a8d70dc417a54e…
commit a91a709a8d70dc417a54eea5e5b271e04d8fa828
Author: chirsz <chirsz(a)foxmail.com>
AuthorDate: Mon Oct 12 03:57:08 2020 +0800
Commit: GitHub <noreply(a)github.com>
CommitDate: Sun Oct 11 21:57:08 2020 +0200
[CMD] Fix a typo in filename completion (#3293)
Fix filename completion that could cause a incorrect result when the path
contains "dots". (See also HBelusca@d12169b.)
See CORE-8623 and CORE-1901 (bug introduced in r25896 / 54cf74f).
For example:
- The current directory is `C:\Documents and Settings\Administrator\`, and you
input `".` and press TAB. The completion result would be `".Administrator"`,
which even does not exist.
- You input "some(file).ext", and you remove the final quote (or the quote
and "ext") and you attempt to complete the file name.
- Import two additional fixes from HBelusca@a826730: Fix the search ordering
in the comparisons between szSearch1, szSearch2 and szSearch3.
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
---
base/shell/cmd/filecomp.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/base/shell/cmd/filecomp.c b/base/shell/cmd/filecomp.c
index 9dfa2943fdc..4e486692a66 100644
--- a/base/shell/cmd/filecomp.c
+++ b/base/shell/cmd/filecomp.c
@@ -394,10 +394,10 @@ VOID FindPrefixAndSuffix(LPTSTR strIN, LPTSTR szPrefix, LPTSTR szSuffix)
/* Find the one closest to end */
szSearch1 = _tcsrchr(str, _T('\"'));
szSearch2 = _tcsrchr(str, _T('\\'));
- szSearch3 = _tcsrchr(str, _T('.'));
- if (szSearch2 != NULL && _tcslen(szSearch1) > _tcslen(szSearch2))
+ szSearch3 = _tcsrchr(str, _T('/'));
+ if ((szSearch2 != NULL) && (szSearch1 < szSearch2))
szSearch = szSearch2;
- else if (szSearch3 != NULL && _tcslen(szSearch1) > _tcslen(szSearch3))
+ else if ((szSearch3 != NULL) && (szSearch1 < szSearch3))
szSearch = szSearch3;
else
szSearch = szSearch1;
@@ -440,9 +440,9 @@ VOID FindPrefixAndSuffix(LPTSTR strIN, LPTSTR szPrefix, LPTSTR szSuffix)
szSearch1 = _tcsrchr(str, _T(' '));
szSearch2 = _tcsrchr(str, _T('\\'));
szSearch3 = _tcsrchr(str, _T('/'));
- if (szSearch2 != NULL && _tcslen(szSearch1) > _tcslen(szSearch2))
+ if ((szSearch2 != NULL) && (szSearch1 < szSearch2))
szSearch = szSearch2;
- else if (szSearch3 != NULL && _tcslen(szSearch1) > _tcslen(szSearch3))
+ else if ((szSearch3 != NULL) && (szSearch1 < szSearch3))
szSearch = szSearch3;
else
szSearch = szSearch1;