https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3854a5d8e93d2c50153bd…
commit 3854a5d8e93d2c50153bda26ea378e65cc4241fa
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Jul 15 14:12:14 2023 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Jul 15 14:19:04 2023 +0200
[CODEBASE] Fix "uknown" / "unkown" etc. typos.
Only done in our own code, not in 3rd-party or in PSDK headers
(official ones also have such typos in defines...)
(NOTE: apparent "Uknown" typo in dll/cpl/sysdm/smbios.c is on-purpose:
typo by the manufacturer.)
---
base/applications/sndrec32/audio_format.cpp | 2 +-
dll/win32/shell32/folders/CControlPanelFolder.cpp | 2 +-
dll/win32/shell32/folders/CDrivesFolder.cpp | 2 +-
dll/win32/shell32/folders/CRegFolder.cpp | 2 +-
hal/halx86/legacy/bussupp.c | 2 +-
modules/rosapps/applications/sysutils/regexpl/RegistryKey.cpp | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/base/applications/sndrec32/audio_format.cpp
b/base/applications/sndrec32/audio_format.cpp
index 20fffc0e2de..7710dce9ea5 100644
--- a/base/applications/sndrec32/audio_format.cpp
+++ b/base/applications/sndrec32/audio_format.cpp
@@ -12,7 +12,7 @@ _AUDIO_NAMESPACE_START_
/* Standard audio formats (declared as externs in `audio_format.hpp') */
-audio_format UNNKOWN_FORMAT(0, 0, 0);
+audio_format UNKNOWN_FORMAT(0, 0, 0);
audio_format A44100_16BIT_STEREO(44100, 16, 2);
audio_format A44100_16BIT_MONO(44100, 16, 1);
diff --git a/dll/win32/shell32/folders/CControlPanelFolder.cpp
b/dll/win32/shell32/folders/CControlPanelFolder.cpp
index ff62b2e964f..be71cc8f714 100644
--- a/dll/win32/shell32/folders/CControlPanelFolder.cpp
+++ b/dll/win32/shell32/folders/CControlPanelFolder.cpp
@@ -411,7 +411,7 @@ HRESULT WINAPI CControlPanelFolder::GetAttributesOf(UINT cidl,
PCUITEMID_CHILD_A
else if (_ILIsSpecialFolder(*apidl))
m_regFolder->GetAttributesOf(1, apidl, rgfInOut);
else
- ERR("Got an unkown pidl here!\n");
+ ERR("Got an unknown pidl here!\n");
apidl++;
cidl--;
}
diff --git a/dll/win32/shell32/folders/CDrivesFolder.cpp
b/dll/win32/shell32/folders/CDrivesFolder.cpp
index 16b6b701f5b..8dbdc48779d 100644
--- a/dll/win32/shell32/folders/CDrivesFolder.cpp
+++ b/dll/win32/shell32/folders/CDrivesFolder.cpp
@@ -666,7 +666,7 @@ HRESULT WINAPI CDrivesFolder::ParseDisplayName(HWND hwndOwner, LPBC
pbc, LPOLEST
else if (_ILIsSpecialFolder(pidlTemp))
m_regFolder->GetAttributesOf(1, &pidlTemp, pdwAttributes);
else
- ERR("Got an unkown pidl here!\n");
+ ERR("Got an unknown pidl here!\n");
}
}
diff --git a/dll/win32/shell32/folders/CRegFolder.cpp
b/dll/win32/shell32/folders/CRegFolder.cpp
index 464d00fe55b..eea529de235 100644
--- a/dll/win32/shell32/folders/CRegFolder.cpp
+++ b/dll/win32/shell32/folders/CRegFolder.cpp
@@ -510,7 +510,7 @@ HRESULT WINAPI CRegFolder::GetAttributesOf(UINT cidl,
PCUITEMID_CHILD_ARRAY apid
if (_ILIsSpecialFolder(*apidl))
GetGuidItemAttributes(*apidl, rgfInOut);
else
- ERR("Got an unkown pidl here!\n");
+ ERR("Got an unknown pidl here!\n");
apidl++;
cidl--;
}
diff --git a/hal/halx86/legacy/bussupp.c b/hal/halx86/legacy/bussupp.c
index 6f91c3b7280..d6d7c99d174 100644
--- a/hal/halx86/legacy/bussupp.c
+++ b/hal/halx86/legacy/bussupp.c
@@ -355,7 +355,7 @@ HalpAllocateAndInitPciBusHandler(IN ULONG PciType,
default:
/* Invalid type */
- DbgPrint("HAL: Unnkown PCI type\n");
+ DbgPrint("HAL: Unknown PCI type\n");
}
/* Return the bus handler */
diff --git a/modules/rosapps/applications/sysutils/regexpl/RegistryKey.cpp
b/modules/rosapps/applications/sysutils/regexpl/RegistryKey.cpp
index d3d6ec83483..483ef0a25f8 100644
--- a/modules/rosapps/applications/sysutils/regexpl/RegistryKey.cpp
+++ b/modules/rosapps/applications/sysutils/regexpl/RegistryKey.cpp
@@ -489,7 +489,7 @@ const TCHAR * CRegistryKey::GetValueTypeName(DWORD dwType)
case REG_RESOURCE_REQUIREMENTS_LIST:
return _T("REG_RESOURCE_REQUIREMENTS_LIST");
default:
- return _T("Unkown Type");
+ return _T("Unknown Type");
}
}