diff --git a/reactos/base/applications/atactl/atactl.cpp b/reactos/base/applications/atactl/atactl.cpp index 1a0f4689178..08308eafd9e 100644 --- a/reactos/base/applications/atactl/atactl.cpp +++ b/reactos/base/applications/atactl/atactl.cpp @@ -98,7 +98,7 @@ void print_help() { "\n" "s number of controller in system. Is assigned during hardware\n" " detection. Usually s0/s1 are ATA Pri/Sec.\n" - " Note, due do NT internal desing ATA controllers are represented\n" + " Note, due do NT internal design ATA controllers are represented\n" " as SCSI controllers.\n" "b For ATA controllers it is channel number.\n" " Note, usually onboard controller is represented as 2 legacy\n" diff --git a/reactos/base/applications/charmap/settings.c b/reactos/base/applications/charmap/settings.c index 865ac18bc2a..e92692a9d08 100644 --- a/reactos/base/applications/charmap/settings.c +++ b/reactos/base/applications/charmap/settings.c @@ -58,7 +58,7 @@ extern void LoadSettings(void) if (RegOpenKeyEx(HKEY_CURRENT_USER, g_szGeneralRegKey, 0, KEY_READ, &hKey) == ERROR_SUCCESS) { TCHAR szBuffer[MAX_PATH]; - DWORD dwAdvanChecked; + DWORD dwAdvancedChecked; unsigned long type = REG_DWORD, size = 1024; /* Restore last selected font */ @@ -89,9 +89,9 @@ extern void LoadSettings(void) } } - RegQueryValueEx(hKey, _T("Advanced"), NULL, &type, (LPBYTE)&dwAdvanChecked, &size); + RegQueryValueEx(hKey, _T("Advanced"), NULL, &type, (LPBYTE)&dwAdvancedChecked, &size); - if(dwAdvanChecked == TRUE) + if(dwAdvancedChecked == TRUE) SendDlgItemMessage(hCharmapDlg, IDC_CHECK_ADVANCED, BM_CLICK, MF_CHECKED, 0); RegCloseKey(hKey); diff --git a/reactos/base/applications/dxdiag/sound.c b/reactos/base/applications/dxdiag/sound.c index 8bbe9b674ba..bdd142f07aa 100644 --- a/reactos/base/applications/dxdiag/sound.c +++ b/reactos/base/applications/dxdiag/sound.c @@ -73,7 +73,7 @@ IsDriverWHQL(LPWSTR szFileName) /* get the driver's cat file */ if (!GetCatFileFromDriverPath(szFileName, szCatFile)) { - /* driver has no cat so its definately not WHQL signed */ + /* driver has no cat so its definitely not WHQL signed */ return FALSE; } diff --git a/reactos/base/applications/games/solitaire/solgame.cpp b/reactos/base/applications/games/solitaire/solgame.cpp index 67877a6131d..f1322647dba 100644 --- a/reactos/base/applications/games/solitaire/solgame.cpp +++ b/reactos/base/applications/games/solitaire/solgame.cpp @@ -414,7 +414,7 @@ void CARDLIBPROC RowStackDblClickProc(CardRegion &stackobj, int iNumClicked) SetPlayTimer(); //stackobj.MoveCards(pDest, 1, true); - //use the SimulateDrag funcion, because we get the + //use the SimulateDrag function, because we get the //AddProc callbacks called for us on the destination stacks... bAutoroute = true; stackobj.SimulateDrag(pDest, 1, true); diff --git a/reactos/base/applications/magnify/lang/en-US.rc b/reactos/base/applications/magnify/lang/en-US.rc index 1cb2ca589a3..f98b911c607 100644 --- a/reactos/base/applications/magnify/lang/en-US.rc +++ b/reactos/base/applications/magnify/lang/en-US.rc @@ -60,7 +60,7 @@ FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN DEFPUSHBUTTON "OK", IDOK, 193, 76, 50, 14 ICON IDI_ICON, IDC_STATIC, 7, 17, 20, 20 - LTEXT "Magnifier is intended to provide a minimum level of functionality for users with slight visual impairments. Most users with visual impairments will need a magnification utility with higher funcionality for daily use.", IDC_STATIC, 36, 7, 207, 33 + LTEXT "Magnifier is intended to provide a minimum level of functionality for users with slight visual impairments. Most users with visual impairments will need a magnification utility with higher functionality for daily use.", IDC_STATIC, 36, 7, 207, 33 CONTROL "Do not show this message again", IDC_SHOWWARNINGCHECK, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 43, 80, 137, 10 END diff --git a/reactos/base/applications/mscutils/eventvwr/eventvwr.c b/reactos/base/applications/mscutils/eventvwr/eventvwr.c index 96c8fd06156..8acb215b52a 100644 --- a/reactos/base/applications/mscutils/eventvwr/eventvwr.c +++ b/reactos/base/applications/mscutils/eventvwr/eventvwr.c @@ -329,7 +329,7 @@ GetMessageStringFromDll( * and we did not pass the flag FORMAT_MESSAGE_IGNORE_INSERTS, and the * message string expected too many inserts. * In this last case only, we can call again FormatMessage but ignore - * explicitely the inserts. The string that we will return to the user + * explicitly the inserts. The string that we will return to the user * will not be pre-formatted. */ if (((dwFlags & FORMAT_MESSAGE_ALLOCATE_BUFFER) || lpMsgBuf) && diff --git a/reactos/base/applications/mscutils/servman/dependencies_tv1.c b/reactos/base/applications/mscutils/servman/dependencies_tv1.c index bd5b59f6e1b..5e764e51dbe 100644 --- a/reactos/base/applications/mscutils/servman/dependencies_tv1.c +++ b/reactos/base/applications/mscutils/servman/dependencies_tv1.c @@ -183,7 +183,7 @@ TV1_Initialize(PSERVICEPROPSHEET pDlgInfo, { BOOL bRet = FALSE; - /* Accociate the imagelist with TV1 */ + /* Associate the imagelist with TV1 */ pDlgInfo->hDependsTreeView1 = GetDlgItem(pDlgInfo->hDependsWnd, IDC_DEPEND_TREE1); if (!pDlgInfo->hDependsTreeView1) { diff --git a/reactos/base/applications/mscutils/servman/dependencies_tv2.c b/reactos/base/applications/mscutils/servman/dependencies_tv2.c index dfd94a1daff..a0f37b07c12 100644 --- a/reactos/base/applications/mscutils/servman/dependencies_tv2.c +++ b/reactos/base/applications/mscutils/servman/dependencies_tv2.c @@ -179,7 +179,7 @@ TV2_Initialize(PSERVICEPROPSHEET pDlgInfo, { BOOL bRet = FALSE; - /* Accociate the imagelist with TV2 */ + /* Associate the imagelist with TV2 */ pDlgInfo->hDependsTreeView2 = GetDlgItem(pDlgInfo->hDependsWnd, IDC_DEPEND_TREE2); if (!pDlgInfo->hDependsTreeView2) { diff --git a/reactos/base/applications/mscutils/servman/lang/en-US.rc b/reactos/base/applications/mscutils/servman/lang/en-US.rc index ad6b8bf4960..f35e7a7bdc0 100644 --- a/reactos/base/applications/mscutils/servman/lang/en-US.rc +++ b/reactos/base/applications/mscutils/servman/lang/en-US.rc @@ -282,7 +282,7 @@ BEGIN IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service" IDS_CREATE_SUCCESS "Service Created Succesfully" IDS_DELETE_SUCCESS "Service Deleted Succesfully" - IDS_CREATE_REQ "Fields marked with an\nasterix are mandatory" + IDS_CREATE_REQ "Fields marked with an\nasterisk are mandatory" IDS_DELETE_STOP "You must manually stop the service before deleting!" END diff --git a/reactos/base/applications/mstsc/connectdialog.c b/reactos/base/applications/mstsc/connectdialog.c index 6860d09c191..5f7ff830689 100644 --- a/reactos/base/applications/mstsc/connectdialog.c +++ b/reactos/base/applications/mstsc/connectdialog.c @@ -156,7 +156,7 @@ LoadUsernameHint(HWND hDlg, INT iCur) static VOID -FillServerAddesssCombo(PINFO pInfo) +FillServerAddressCombo(PINFO pInfo) { HKEY hKey; WCHAR KeyName[] = L"Software\\Microsoft\\Terminal Server Client\\Default"; @@ -325,7 +325,7 @@ GeneralOnInit(HWND hwnd, 0); } - FillServerAddesssCombo(pInfo); + FillServerAddressCombo(pInfo); ReLoadGeneralPage(pInfo); } diff --git a/reactos/base/applications/mstsc/constants.h b/reactos/base/applications/mstsc/constants.h index ce8e3e479c5..4a48c1993a7 100644 --- a/reactos/base/applications/mstsc/constants.h +++ b/reactos/base/applications/mstsc/constants.h @@ -131,12 +131,12 @@ enum MCS_PDU_TYPE #define LICENCE_SIGNATURE_SIZE 16 #define LICENCE_TAG_REQUEST 0x01 -#define LICENCE_TAG_PLATFORM_CHALLANGE 0x02 +#define LICENCE_TAG_PLATFORM_CHALLENGE 0x02 #define LICENCE_TAG_NEW_LICENCE 0x03 #define LICENCE_TAG_UPGRADE_LICENCE 0x04 #define LICENCE_TAG_LICENCE_INFO 0x12 #define LICENCE_TAG_NEW_LICENCE_REQUEST 0x13 -#define LICENCE_TAG_PLATFORM_CHALLANGE_RESPONSE 0x15 +#define LICENCE_TAG_PLATFORM_CHALLENGE_RESPONSE 0x15 #define LICENCE_TAG_ERROR_ALERT 0xff #define BB_CLIENT_USER_NAME_BLOB 0x000f diff --git a/reactos/base/applications/mstsc/licence.c b/reactos/base/applications/mstsc/licence.c index 8ade6c78a52..c6df6643ffa 100644 --- a/reactos/base/applications/mstsc/licence.c +++ b/reactos/base/applications/mstsc/licence.c @@ -199,9 +199,9 @@ licence_process_request(STREAM s) licence_send_new_licence_request(null_data, null_data, g_username, g_hostname); } -/* Send a platform challange response packet */ +/* Send a platform challenge response packet */ static void -licence_send_platform_challange_response(uint8 * token, uint8 * crypt_hwid, uint8 * signature) +licence_send_platform_challenge_response(uint8 * token, uint8 * crypt_hwid, uint8 * signature) { uint32 sec_flags = SEC_LICENCE_NEG; uint16 length = 58; @@ -209,7 +209,7 @@ licence_send_platform_challange_response(uint8 * token, uint8 * crypt_hwid, uint s = sec_init(sec_flags, length + 2); - out_uint8(s, LICENCE_TAG_PLATFORM_CHALLANGE_RESPONSE); + out_uint8(s, LICENCE_TAG_PLATFORM_CHALLENGE_RESPONSE); out_uint8(s, ((g_rdp_version >= RDP_V5) ? 3 : 2)); /* version */ out_uint16_le(s, length); @@ -227,9 +227,9 @@ licence_send_platform_challange_response(uint8 * token, uint8 * crypt_hwid, uint sec_send(s, sec_flags); } -/* Parse an platform challange request packet */ +/* Parse an platform challenge request packet */ static RD_BOOL -licence_parse_platform_challange(STREAM s, uint8 ** token, uint8 ** signature) +licence_parse_platform_challenge(STREAM s, uint8 ** token, uint8 ** signature) { uint16 tokenlen; @@ -248,9 +248,9 @@ licence_parse_platform_challange(STREAM s, uint8 ** token, uint8 ** signature) return s_check_end(s); } -/* Process a platform challange packet */ +/* Process a platform challenge packet */ static void -licence_process_platform_challange(STREAM s) +licence_process_platform_challenge(STREAM s) { uint8 *in_token = NULL, *in_sig; uint8 out_token[LICENCE_TOKEN_SIZE], decrypt_token[LICENCE_TOKEN_SIZE]; @@ -260,7 +260,7 @@ licence_process_platform_challange(STREAM s) void * crypt_key; /* Parse incoming packet and save the encrypted token */ - licence_parse_platform_challange(s, &in_token, &in_sig); + licence_parse_platform_challenge(s, &in_token, &in_sig); memcpy(out_token, in_token, LICENCE_TOKEN_SIZE); /* Decrypt the token. It should read TEST in Unicode. */ @@ -281,7 +281,7 @@ licence_process_platform_challange(STREAM s) ssl_rc4_crypt(crypt_key, (char *)hwid, (char *)crypt_hwid, LICENCE_HWID_SIZE); ssl_rc4_info_delete(crypt_key); - licence_send_platform_challange_response(out_token, crypt_hwid, out_sig); + licence_send_platform_challenge_response(out_token, crypt_hwid, out_sig); } /* Process a new licence packet */ @@ -393,8 +393,8 @@ licence_process(STREAM s) licence_process_request(s); break; - case LICENCE_TAG_PLATFORM_CHALLANGE: - licence_process_platform_challange(s); + case LICENCE_TAG_PLATFORM_CHALLENGE: + licence_process_platform_challenge(s); break; case LICENCE_TAG_NEW_LICENCE: diff --git a/reactos/base/applications/mstsc/rdesktop.h b/reactos/base/applications/mstsc/rdesktop.h index 242bf3957cf..2b1cc2508dc 100644 --- a/reactos/base/applications/mstsc/rdesktop.h +++ b/reactos/base/applications/mstsc/rdesktop.h @@ -191,7 +191,7 @@ ((tvp)->tv_sec = (tvp)->tv_usec = 0) #endif -/* If configure does not define the endianess, try +/* If configure does not define the endianness, try to find it out */ #if !defined(L_ENDIAN) && !defined(B_ENDIAN) #if __BYTE_ORDER == __LITTLE_ENDIAN diff --git a/reactos/base/applications/mstsc/rdp.c b/reactos/base/applications/mstsc/rdp.c index d3aed1112ab..3a675258e9f 100644 --- a/reactos/base/applications/mstsc/rdp.c +++ b/reactos/base/applications/mstsc/rdp.c @@ -395,8 +395,8 @@ rdp_send_logon_info(uint32 flags, char *domain, char *user, 2 + len_program + /* AlternateShell */ 2 + len_directory + /* WorkingDir */ /* size of TS_EXTENDED_INFO_PACKET */ - 2 + /* clientAdressFamily */ - 2 + /* cbClientAdress */ + 2 + /* clientAddressFamily */ + 2 + /* cbClientAddress */ len_ip + /* clientAddress */ 2 + /* cbClientDir */ len_dll + /* clientDir */ diff --git a/reactos/base/applications/mstsc/secure.c b/reactos/base/applications/mstsc/secure.c index b9ffa306b5e..1e5c0efd287 100644 --- a/reactos/base/applications/mstsc/secure.c +++ b/reactos/base/applications/mstsc/secure.c @@ -1011,7 +1011,7 @@ sec_recv(uint8 * rdpver) { /* for some reason the PDU and the length seem to be swapped. This isn't good, but we're going to do a byte for byte - swap. So the first foure value appear as: 00 04 XX YY, + swap. So the first four values appear as: 00 04 XX YY, where XX YY is the little endian length. We're going to use 04 00 as the PDU type, so after our swap this will look like: XX YY 04 00 */ @@ -1074,7 +1074,7 @@ sec_connect(char *server, char *username, char *domain, char *password, RD_BOOL mcs_data.p = mcs_data.data = (uint8 *) xmalloc(mcs_data.size); sec_out_mcs_data(&mcs_data, selected_proto); - /* finialize the MCS connect sequence */ + /* finalize the MCS connect sequence */ if (!mcs_connect_finalize(&mcs_data)) return False; diff --git a/reactos/base/applications/network/arp/arp.c b/reactos/base/applications/network/arp/arp.c index fb4f5ea36aa..61283619f60 100644 --- a/reactos/base/applications/network/arp/arp.c +++ b/reactos/base/applications/network/arp/arp.c @@ -46,7 +46,7 @@ const char SEPERATOR = '-'; int _CRT_glob = 0; // stop * from listing dir files in arp -d * /* - * function declerations + * function declarations */ DWORD DoFormatMessage(VOID); INT PrintEntries(PMIB_IPNETROW pIpAddRow); @@ -220,7 +220,7 @@ INT DisplayArpEntries(PTCHAR pszInetAddr, PTCHAR pszIfAddr) for (i=0; i < pIpNetTable->dwNumEntries; i++) { - /* if the user has supplied their own internet addesss * + /* if the user has supplied their own internet address * * only print the arp entry which matches that */ if (pszInetAddr) { diff --git a/reactos/base/applications/network/netstat/netstat.h b/reactos/base/applications/network/netstat/netstat.h index 3a5d820aec8..e57b89d184e 100644 --- a/reactos/base/applications/network/netstat/netstat.h +++ b/reactos/base/applications/network/netstat/netstat.h @@ -42,7 +42,7 @@ typedef struct { MIB_UDPEXROW table; } MIB_UDPEXTABLE, *PMIB_UDPEXTABLE; -/* function declerations */ +/* function declarations */ BOOL ParseCmdline(int argc, char* argv[]); BOOL DisplayOutput(VOID); DWORD DoFormatMessage(DWORD ErrorCode); diff --git a/reactos/base/applications/rapps/available.c b/reactos/base/applications/rapps/available.c index 421eacde84d..b65586d2728 100644 --- a/reactos/base/applications/rapps/available.c +++ b/reactos/base/applications/rapps/available.c @@ -2,7 +2,7 @@ * PROJECT: ReactOS Applications Manager * LICENSE: GPL - See COPYING in the top level directory * FILE: base/applications/rapps/available.c - * PURPOSE: Functions for working with availabled applications + * PURPOSE: Functions for working with available applications * PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org) * Ismael Ferreras Morezuelas (swyterzone+ros@gmail.com) */ diff --git a/reactos/base/applications/rapps/loaddlg.c b/reactos/base/applications/rapps/loaddlg.c index 7ed81596d9f..a95be34c9f2 100644 --- a/reactos/base/applications/rapps/loaddlg.c +++ b/reactos/base/applications/rapps/loaddlg.c @@ -126,7 +126,7 @@ dlOnProgress(IBindStatusCallback* iface, /* send the current progress to the progress bar */ SendMessageW(Item, PBM_SETPOS, uiPercentage, 0); - /* format the bits and bytes into pretty and accesible units... */ + /* format the bits and bytes into pretty and accessible units... */ StrFormatByteSizeW(ulProgress, szProgress, _countof(szProgress)); StrFormatByteSizeW(ulProgressMax, szProgressMax, _countof(szProgressMax)); diff --git a/reactos/base/applications/rapps/resource.h b/reactos/base/applications/rapps/resource.h index d89933c2221..92f9a0da178 100644 --- a/reactos/base/applications/rapps/resource.h +++ b/reactos/base/applications/rapps/resource.h @@ -136,7 +136,7 @@ #define IDS_INFO_MODIFYPATH 295 #define IDS_INFO_INSTALLDATE 296 -/* Info for availabled apps */ +/* Info for available apps */ #define IDS_AINFO_VERSION 350 #define IDS_AINFO_DESCRIPTION 351 #define IDS_AINFO_SIZE 352 diff --git a/reactos/base/applications/rapps/winmain.c b/reactos/base/applications/rapps/winmain.c index 923a5f1f01b..344eefedc52 100644 --- a/reactos/base/applications/rapps/winmain.c +++ b/reactos/base/applications/rapps/winmain.c @@ -221,7 +221,7 @@ UpdateApplicationsList(INT EnumType) } else if (IS_AVAILABLE_ENUM(EnumType)) { - /* Enum availabled applications */ + /* Enum available applications */ EnumAvailableApplications(EnumType, EnumAvailableAppProc); } diff --git a/reactos/base/applications/rapps_new/available.cpp b/reactos/base/applications/rapps_new/available.cpp index ff789a11439..50e4f23be66 100644 --- a/reactos/base/applications/rapps_new/available.cpp +++ b/reactos/base/applications/rapps_new/available.cpp @@ -2,7 +2,7 @@ * PROJECT: ReactOS Applications Manager * LICENSE: GPL - See COPYING in the top level directory * FILE: base/applications/rapps_new/available.cpp - * PURPOSE: Functions for working with availabled applications + * PURPOSE: Functions for working with available applications * PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org) * Ismael Ferreras Morezuelas (swyterzone+ros@gmail.com) */ diff --git a/reactos/base/applications/rapps_new/gui.cpp b/reactos/base/applications/rapps_new/gui.cpp index 29a1cda0f1b..90ed140711a 100644 --- a/reactos/base/applications/rapps_new/gui.cpp +++ b/reactos/base/applications/rapps_new/gui.cpp @@ -1192,7 +1192,7 @@ class CMainWindow : } else if (IS_AVAILABLE_ENUM(EnumType)) { - /* Enum availabled applications */ + /* Enum available applications */ EnumAvailableApplications(EnumType, s_EnumAvailableAppProc); } diff --git a/reactos/base/applications/rapps_new/loaddlg.cpp b/reactos/base/applications/rapps_new/loaddlg.cpp index 10d96012c81..a78beee9ff2 100644 --- a/reactos/base/applications/rapps_new/loaddlg.cpp +++ b/reactos/base/applications/rapps_new/loaddlg.cpp @@ -101,7 +101,7 @@ class CDownloadDialog : /* send the current progress to the progress bar */ SendMessageW(Item, PBM_SETPOS, uiPercentage, 0); - /* format the bits and bytes into pretty and accesible units... */ + /* format the bits and bytes into pretty and accessible units... */ StrFormatByteSizeW(ulProgress, szProgress, _countof(szProgress)); StrFormatByteSizeW(ulProgressMax, szProgressMax, _countof(szProgressMax)); diff --git a/reactos/base/applications/rapps_new/resource.h b/reactos/base/applications/rapps_new/resource.h index 71d9423127e..900f0944562 100644 --- a/reactos/base/applications/rapps_new/resource.h +++ b/reactos/base/applications/rapps_new/resource.h @@ -136,7 +136,7 @@ #define IDS_INFO_MODIFYPATH 295 #define IDS_INFO_INSTALLDATE 296 -/* Info for availabled apps */ +/* Info for available apps */ #define IDS_AINFO_VERSION 350 #define IDS_AINFO_DESCRIPTION 351 #define IDS_AINFO_SIZE 352 diff --git a/reactos/base/applications/sndrec32/audio_wavein.cpp b/reactos/base/applications/sndrec32/audio_wavein.cpp index 5e5954e1a41..8a59b876e6b 100644 --- a/reactos/base/applications/sndrec32/audio_wavein.cpp +++ b/reactos/base/applications/sndrec32/audio_wavein.cpp @@ -400,7 +400,7 @@ audio_wavein::recording_procedure(LPVOID arg) phdr->dwFlags = 0; SetEvent(_this->data_flushed_event); - /* The recording is gooing to stop, so the recording thread can go to sleep! */ + /* The recording is going to stop, so the recording thread can go to sleep! */ WaitForSingleObject(_this->wakeup_recthread, INFINITE); } } /* if WAVEIN_RECORDING || WAVEIN_FLUSHING */ diff --git a/reactos/base/applications/sndrec32/sndrec32.cpp b/reactos/base/applications/sndrec32/sndrec32.cpp index 18e23d15269..473f021731b 100644 --- a/reactos/base/applications/sndrec32/sndrec32.cpp +++ b/reactos/base/applications/sndrec32/sndrec32.cpp @@ -130,7 +130,7 @@ _tWinMain(HINSTANCE hInstance, text2_rect.right = REFRESHB_CX; text2_rect.bottom = REFRESHB_CY; - /* Retrieving defaul system font, and others system informations */ + /* Retrieving default system font, and others system informations */ SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &s_info, diff --git a/reactos/base/applications/taskmgr/taskmgr.h b/reactos/base/applications/taskmgr/taskmgr.h index b82f9705e96..c5da7f13fd5 100644 --- a/reactos/base/applications/taskmgr/taskmgr.h +++ b/reactos/base/applications/taskmgr/taskmgr.h @@ -100,7 +100,7 @@ extern int nOldWidth; /* Holds the previous client area width */ extern int nOldHeight; /* Holds the previous client area height */ extern TASKMANAGER_SETTINGS TaskManagerSettings; -/* Foward declarations of functions included in this code module: */ +/* Forward declarations of functions included in this code module: */ INT_PTR CALLBACK TaskManagerWndProc(HWND, UINT, WPARAM, LPARAM); BOOL OnCreate(HWND hWnd); void OnSize(WPARAM nType, int cx, int cy); diff --git a/reactos/base/services/svchost/svchost.c b/reactos/base/services/svchost/svchost.c index 73520c6a1db..04450f59a14 100644 --- a/reactos/base/services/svchost/svchost.c +++ b/reactos/base/services/svchost/svchost.c @@ -138,7 +138,7 @@ BuildCommandOptions ( while ((*pch) && ((*pch != ' ') && (*pch != '\t'))) pch++; } - /* Now we have a space or quote deliminated name, terminate it */ + /* Now we have a space or quote delimited name, terminate it */ if (*pch) *pch++ = UNICODE_NULL; /* Ok, so we have a string -- was it preceeded by a -K or /K? */ diff --git a/reactos/base/services/tcpsvcs/chargen.c b/reactos/base/services/tcpsvcs/chargen.c index 9e45b727e86..2b5ab227d7e 100644 --- a/reactos/base/services/tcpsvcs/chargen.c +++ b/reactos/base/services/tcpsvcs/chargen.c @@ -2,7 +2,7 @@ * PROJECT: ReactOS simple TCP/IP services * LICENSE: GPL - See COPYING in the top level directory * FILE: base/services/tcpsvcs/chargen.c - * PURPOSE: Sends continous lines of chars to the client + * PURPOSE: Sends continuous lines of chars to the client * COPYRIGHT: Copyright 2005 - 2008 Ged Murphy * */ diff --git a/reactos/base/services/telnetd/syslog.c b/reactos/base/services/telnetd/syslog.c index 1ee4499a921..a8b3f75c5cc 100644 --- a/reactos/base/services/telnetd/syslog.c +++ b/reactos/base/services/telnetd/syslog.c @@ -148,7 +148,7 @@ static void init_logger_addr() /****************************************************************************** * closelog * - * Close desriptor used to write to system logger. + * Close descriptor used to write to system logger. */ void closelog() { diff --git a/reactos/base/services/telnetd/syslog.h b/reactos/base/services/telnetd/syslog.h index ca87a1cb80f..9f11e1a3afa 100644 --- a/reactos/base/services/telnetd/syslog.h +++ b/reactos/base/services/telnetd/syslog.h @@ -166,7 +166,7 @@ CODE facilitynames[] = extern "C" { #endif -/* Close desriptor used to write to system logger. */ +/* Close descriptor used to write to system logger. */ extern void closelog (void); /* Open connection to system logger. */ diff --git a/reactos/base/setup/usetup/interface/usetup.c b/reactos/base/setup/usetup/interface/usetup.c index 8be6612e99f..79443345841 100644 --- a/reactos/base/setup/usetup/interface/usetup.c +++ b/reactos/base/setup/usetup/interface/usetup.c @@ -3122,7 +3122,7 @@ CheckFileSystemPage(PINPUT_RECORD Ir) DPRINT1("CheckFileSystemPage -- PartitionType: 0x%02X ; FileSystemName: %S\n", PartEntry->PartitionType, (CurrentFileSystem ? CurrentFileSystem->FileSystemName : L"n/a")); - /* HACK: Do not try to check a partition with an unknown filesytem */ + /* HACK: Do not try to check a partition with an unknown filesystem */ if (CurrentFileSystem == NULL) { PartEntry->NeedsCheck = FALSE; @@ -3264,7 +3264,7 @@ InstallDirectoryPage(PINPUT_RECORD Ir) WCHAR c; ULONG Length; - /* We do not need the filsystem list any more */ + /* We do not need the filesystem list any more */ if (FileSystemList != NULL) { DestroyFileSystemList(FileSystemList); diff --git a/reactos/base/setup/usetup/partlist.c b/reactos/base/setup/usetup/partlist.c index cec59c1beee..6514d0c016f 100644 --- a/reactos/base/setup/usetup/partlist.c +++ b/reactos/base/setup/usetup/partlist.c @@ -1359,7 +1359,7 @@ AddDiskToList( } else { - DPRINT1("No matching aligment found! Partition 1 starts at %I64u\n", DiskEntry->LayoutBuffer->PartitionEntry[0].StartingOffset.QuadPart); + DPRINT1("No matching alignment found! Partition 1 starts at %I64u\n", DiskEntry->LayoutBuffer->PartitionEntry[0].StartingOffset.QuadPart); } } else diff --git a/reactos/base/shell/cmd/choice.c b/reactos/base/shell/cmd/choice.c index 1cfaa5641e4..70d8d430bb5 100644 --- a/reactos/base/shell/cmd/choice.c +++ b/reactos/base/shell/cmd/choice.c @@ -47,7 +47,7 @@ GetCharacterTimeout (LPTCH ch, DWORD dwMilliseconds) hInput = GetStdHandle (STD_INPUT_HANDLE); - //if the timeout experied return GC_TIMEOUT + //if the timeout expired return GC_TIMEOUT if (WaitForSingleObject (hInput, dwMilliseconds) == WAIT_TIMEOUT) return GC_TIMEOUT; diff --git a/reactos/base/shell/cmd/cmd.c b/reactos/base/shell/cmd/cmd.c index 8b0640b6f28..6e087457c86 100644 --- a/reactos/base/shell/cmd/cmd.c +++ b/reactos/base/shell/cmd/cmd.c @@ -81,7 +81,7 @@ * added showcmds function to show commands and options available * * 07-Aug-1998 (John P Price ) - * Fixed carrage return output to better match MSDOS with echo + * Fixed carriage return output to better match MSDOS with echo * on or off. (marked with "JPP 19980708") * * 07-Dec-1998 (Eric Kohl) @@ -1785,7 +1785,7 @@ static VOID Cleanup() ParseCommandLine (_T("\\cmdexit.bat")); } -#ifdef FEATURE_DIECTORY_STACK +#ifdef FEATURE_DIRECTORY_STACK /* destroy directory stack */ DestroyDirectoryStack (); #endif diff --git a/reactos/base/shell/cmd/cmdinput.c b/reactos/base/shell/cmd/cmdinput.c index 9513277b8dd..b9d44693d42 100644 --- a/reactos/base/shell/cmd/cmdinput.c +++ b/reactos/base/shell/cmd/cmdinput.c @@ -41,7 +41,7 @@ * printf(str). Don't ask how I find em just be glad I do :) * * 7/12/97 (Tim Norman) - * Note: above changes pre-empted Steffan's ctrl-break checking. + * Note: above changes preempted Steffan's ctrl-break checking. * * 7/7/97 (Marc Desrochers) * rewrote a new findxy() because the new dir() used it. This @@ -76,7 +76,7 @@ * to type something else in insert mode, it crashed. * * 07-Aug-1998 (John P Price ) - * Fixed carrage return output to better match MSDOS with echo + * Fixed carriage return output to better match MSDOS with echo * on or off.(marked with "JPP 19980708") * * 13-Dec-1998 (Eric Kohl) diff --git a/reactos/base/shell/cmd/dir.c b/reactos/base/shell/cmd/dir.c index 7897e056a5f..27bceb9f7a2 100644 --- a/reactos/base/shell/cmd/dir.c +++ b/reactos/base/shell/cmd/dir.c @@ -244,8 +244,8 @@ DirReadParam(LPTSTR Line, /* [IN] The line with the parameters & s LPDIRSWITCHFLAGS lpFlags) /* [IN/OUT] The flags after calculating switches */ { TCHAR cCurSwitch; /* The current switch */ - TCHAR cCurChar; /* Current examing character */ - TCHAR cCurUChar; /* Current upper examing character */ + TCHAR cCurChar; /* Current examined character */ + TCHAR cCurUChar; /* Current upper examined character */ BOOL bNegative; /* Negative switch */ BOOL bPNegative; /* Negative switch parameter */ BOOL bIntoQuotes; /* A flag showing if we are in quotes (") */ @@ -414,7 +414,7 @@ DirReadParam(LPTSTR Line, /* [IN] The line with the parameters & s /* Check if there are no more switch parameters */ if ((cCurChar == _T('/')) || _istspace(cCurChar)) { - /* Wrong desicion path, reprocess current character */ + /* Wrong decision path, reprocess current character */ cCurSwitch = _T(' '); continue; } @@ -777,7 +777,7 @@ PrintSummary(LPTSTR szPath, /* Print recursive specific results */ - /* Take this code offline to fix /S does not print duoble info */ + /* Take this code offline to fix /S does not print double info */ if (TotalSummary && lpFlags->bRecursive) { ConvertULargeInteger(u64Bytes, szBuffer, sizeof(szBuffer), lpFlags->bTSeperator); @@ -958,7 +958,7 @@ DirPrintWideList(PDIRFINDINFO ptrFiles[], /* [IN] Files' Info */ { if (ptrFiles[i]->stFindInfo.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { - /* Directories need 2 additinal characters for brackets */ + /* Directories need 2 additional characters for brackets */ if ((_tcslen(ptrFiles[i]->stFindInfo.cFileName) + 2) > iLongestName) iLongestName = _tcslen(ptrFiles[i]->stFindInfo.cFileName) + 2; } @@ -1185,7 +1185,7 @@ CompareFiles(PDIRFINDINFO lpFile1, /* [IN] A pointer to WIN32_FIND_DATA of int i; long iComp = 0; /* The comparison result */ - /* Calculate critiries by order given from user */ + /* Calculate criteria by order given from user */ for (i = 0;i < lpFlags->stOrderBy.sCriteriaCount;i++) { @@ -1199,7 +1199,7 @@ CompareFiles(PDIRFINDINFO lpFile1, /* [IN] A pointer to WIN32_FIND_DATA of u64File2.LowPart = lpFile2->stFindInfo.nFileSizeLow; u64File2.HighPart = lpFile2->stFindInfo.nFileSizeHigh; - /* In case that differnce is too big for a long */ + /* In case that difference is too big for a long */ if (u64File1.QuadPart < u64File2.QuadPart) iComp = -1; else if (u64File1.QuadPart > u64File2.QuadPart) @@ -1248,7 +1248,7 @@ CompareFiles(PDIRFINDINFO lpFile1, /* [IN] A pointer to WIN32_FIND_DATA of break; } - /* In case that differnce is too big for a long */ + /* In case that difference is too big for a long */ if (u64File1.QuadPart < u64File2.QuadPart) iComp = -1; else if (u64File1.QuadPart > u64File2.QuadPart) @@ -1608,7 +1608,7 @@ DirList(LPTSTR szPath, /* [IN] The path that dir starts */ /* Do the recursive job if requested the recursive is be done on ALL(indepent of their attribs) - directoried of the current one.*/ + directories of the current one.*/ if (lpFlags->bRecursive) { /* The new search is involving any *.* file */ diff --git a/reactos/base/shell/cmd/filecomp.c b/reactos/base/shell/cmd/filecomp.c index f6e56fccf67..0fc1b30684e 100644 --- a/reactos/base/shell/cmd/filecomp.c +++ b/reactos/base/shell/cmd/filecomp.c @@ -658,7 +658,7 @@ VOID CompleteFilename (LPTSTR strIN, BOOL bNext, LPTSTR strOut, UINT cusor) return; } - /* aseemble a list of all files names */ + /* assemble a list of all files names */ do { FileName * oldFileList = FileList; diff --git a/reactos/base/shell/cmd/history.txt b/reactos/base/shell/cmd/history.txt index 2b4d897e27f..798f05e41ce 100644 --- a/reactos/base/shell/cmd/history.txt +++ b/reactos/base/shell/cmd/history.txt @@ -148,7 +148,7 @@ o Fixed bug that caused dir *.ext/X not to work (no spaces o Added wildcard support for DEL command o Added prompt and help switch for DEL command, /P and /? respectively. -o Added support for /C when envoking the shell +o Added support for /C when invoking the shell o Added /P support when Kernel loads shell. This means the shell now is permanent and runs the autoexec.bat (/E is not implemented) @@ -300,7 +300,7 @@ o call.c: added lines to initialize for pointers. This fixed the 07-Aug-1998 (John P Price ) ~~~~~~~~~~~~~~~~~~~~~~ -o Fixed carrage return output to better match MSDOS with echo on or off. +o Fixed carriage return output to better match MSDOS with echo on or off. 07-Dec-1998 ReactOS CMD version 0.0.1 (Eric Kohl) diff --git a/reactos/base/shell/cmd/internal.c b/reactos/base/shell/cmd/internal.c index 92cea75a61a..4e14daf5273 100644 --- a/reactos/base/shell/cmd/internal.c +++ b/reactos/base/shell/cmd/internal.c @@ -146,7 +146,7 @@ INT GetRootPath("C:",outbuffer,chater size of outbuffer); the first param can have any size, if the the two frist letter are not a drive with : it will get Currentpath on - current drive exacly as GetCurrentDirectory does. + current drive exactly as GetCurrentDirectory does. */ INT GetRootPath(TCHAR *InPath,TCHAR *OutPath,INT size) @@ -281,7 +281,7 @@ INT cmd_chdir (LPTSTR param) #ifdef INCLUDE_CMD_MKDIR -/* Helper funtion for mkdir to make directories in a path. +/* Helper function for mkdir to make directories in a path. Dont use the api to decrease depence on libs */ BOOL MakeFullPath(TCHAR * DirPath) @@ -466,7 +466,7 @@ INT cmd_rmdir (LPTSTR param) if (RD_SUB) { - /* ask if they want to delete evrything in the folder */ + /* ask if they want to delete everything in the folder */ if (!RD_QUIET) { res = FilePromptYNA (STRING_DEL_HELP2); diff --git a/reactos/base/shell/cmd/misc.c b/reactos/base/shell/cmd/misc.c index c7bf1dd886a..8aa65dbabd6 100644 --- a/reactos/base/shell/cmd/misc.c +++ b/reactos/base/shell/cmd/misc.c @@ -269,7 +269,7 @@ static BOOL expand (LPINT ac, LPTSTR **arg, LPCTSTR pattern) } /* - * split - splits a line up into separate arguments, deliminators + * split - splits a line up into separate arguments, delimiters * are spaces and slashes ('/'). */ LPTSTR *split (LPTSTR s, LPINT args, BOOL expand_wildcards, BOOL handle_plus) @@ -363,7 +363,7 @@ LPTSTR *split (LPTSTR s, LPINT args, BOOL expand_wildcards, BOOL handle_plus) } /* - * splitspace() is a function which uses JUST spaces as delimeters. split() uses "/" AND spaces. + * splitspace() is a function which uses JUST spaces as delimiters. split() uses "/" AND spaces. * The way it works is real similar to split(), search the difference ;) * splitspace is needed for commands such as "move" where paths as C:\this/is\allowed/ are allowed */ diff --git a/reactos/base/shell/cmd/move.c b/reactos/base/shell/cmd/move.c index dd7dca968af..dd7143d2cc0 100644 --- a/reactos/base/shell/cmd/move.c +++ b/reactos/base/shell/cmd/move.c @@ -127,7 +127,7 @@ INT cmd_move (LPTSTR param) "\n" " [drive:][path]filename1 Specifies the location and name of the file\n" " or files you want to move.\n" - " /N Nothing. Don everthing but move files or direcories.\n" + " /N Nothing. Don everthing but move files or directories.\n" " /Y\n" " /-Y\n" "...")); diff --git a/reactos/base/shell/cmd/readme2.txt b/reactos/base/shell/cmd/readme2.txt index bf793760400..44fd30b2f5c 100644 --- a/reactos/base/shell/cmd/readme2.txt +++ b/reactos/base/shell/cmd/readme2.txt @@ -18,7 +18,7 @@ In here we fist check for aliases and convert if need be. Then we look for redirections using GetRedirection() which will remove any redirection symbols. and pass back info about where to redirect. from this info it will do some switching around with the handles for where things go and send them as need be. -personally i dont like this code and i tried to chnage it before but failed. +personally i dont like this code and i tried to change it before but failed. it is confusing to me and i dont understand why a lot of it is there but apparently it is needed. It sends the new string without any redirection info into DoCommand(). In this function we just look to see what should be done. @@ -27,8 +27,8 @@ There is one of 2 things that could happen. 2) we dont find it so we send it to Execute() and see if it is a file that we can do something. Execute will try to launch the file using createprocess and falls back on shellexecute. -It calls a function called SearchForExecuteable() to find the full path name and looks in all the correct locations like PATH, - curreent folder, windows folder. If it cant find it, just fails and prints out a message. +It calls a function called SearchForExecutable() to find the full path name and looks in all the correct locations like PATH, + current folder, windows folder. If it cant find it, just fails and prints out a message. Some useful functions that are used a lot: diff --git a/reactos/base/shell/cmd/ren.c b/reactos/base/shell/cmd/ren.c index 314ba0eee46..8be30724267 100644 --- a/reactos/base/shell/cmd/ren.c +++ b/reactos/base/shell/cmd/ren.c @@ -21,7 +21,7 @@ * Remove all hardcoded strings in En.rc * * 25-Nov-2008 (Victor Martinez ) - * Patch dedicated to Myrjala because her comprenhension and love :D + * Patch dedicated to Myrjala because her comprehension and love :D * Fixing following Bugs: * -Wrong behavior with wildcards when Source and Destiny are Paths(FIXED). * -Wrong general behavior (MSDN:"Rename cant move files between subdirectories")(FIXED) @@ -102,7 +102,7 @@ INT cmd_rename (LPTSTR param) /* Read options */ for (i = 0; i < args; i++) { - /* Lets check if we have a special option choosen and set the flag(s)*/ + /* Lets check if we have a special option chosen and set the flag(s)*/ if (*arg[i] == _T('/')) { if (_tcslen(arg[i]) >= 2) diff --git a/reactos/base/shell/cmd/ren.txt b/reactos/base/shell/cmd/ren.txt index 72b1aea0d1e..6d2be1c4241 100644 --- a/reactos/base/shell/cmd/ren.txt +++ b/reactos/base/shell/cmd/ren.txt @@ -43,12 +43,12 @@ dstPattern: here is stored Destiny Argument (C:\ie\hi.txt) dstPath: here is stored Destiny Path(C:\i) dstFILE: here is stored FILE re-name(hi.txt) -1)We begin retrieving arguments from command line and fulffilling dstPattern and srcPattern +1)We begin retrieving arguments from command line and fulfilling dstPattern and srcPattern 2)If srcPattern contains "\" then: -we activate bPath, since srcPattern has a path inside of it. - -we explit the srcPattern to srcFile and srcPath. + -we split the srcPattern to srcFile and srcPath. -Now we check the dstPattern ŋdoes it contain a Path?: -If does: we divide it in dstPath and dstFile.AND ALSO CHECK THAT dstPath and srcPath itīs the same(see syntax error).If they aren the same we launch an error. -If doesnt then we copy srcPath to dstPath(see #way2) and also saving dstPattern as dstFile. @@ -67,7 +67,7 @@ Do while is used to manage Wildcards.So we can iterate Finding all the files wit But wildcards (? and *) has different behavior so we have to be carefull. "q" stores the srcFile(this can be a real name file but ALSO A NAME FULL OF WILDCARDS)(p always has a REAL NAME)(This is the most difficult point to understand the code) -"r" is the Name File after aplying the Mask (q)(itīs stored in dstLast). +"r" is the Name File after applying the Mask (q)(itīs stored in dstLast). If we are just renaming one file,then we dont make the while loop.The do..while loop is made when some files are renamed: i.e ren *.lol *.rem diff --git a/reactos/base/shell/cmd/replace.c b/reactos/base/shell/cmd/replace.c index 0b7ef3f0045..811ae76ada4 100644 --- a/reactos/base/shell/cmd/replace.c +++ b/reactos/base/shell/cmd/replace.c @@ -332,7 +332,7 @@ INT recFindSubDirs(DWORD dwFlags, /* Get the first file in the directory */ hFile = FindFirstFile (szDestPath, &findBuffer); - /* Remove the star added earlyer to dest path */ + /* Remove the star added earlier to dest path */ for(i = (_tcslen(szDestPath) - 1); i > -1; i--) { if (szDestPath[i] != _T('\\')) @@ -376,7 +376,7 @@ INT recFindSubDirs(DWORD dwFlags, if (!*doMore) break; _tcscpy(tmpSrcPath,szSrcPath); - /* Controle the next level of subdirs */ + /* Control the next level of subdirs */ filesReplaced += recFindSubDirs(dwFlags,tmpSrcPath,tmpDestPath, doMore); if (!*doMore) break; diff --git a/reactos/base/shell/cmd/strtoclr.c b/reactos/base/shell/cmd/strtoclr.c index be7af272385..83a3c530bc8 100644 --- a/reactos/base/shell/cmd/strtoclr.c +++ b/reactos/base/shell/cmd/strtoclr.c @@ -245,7 +245,7 @@ WORD str_to_color(LPTSTR* arg_str) * **** NOTE: The following functionality is deactivated **** * it returns the color in the l.o. byte, plus two flags in the * h.o. byte, they are: - * SC_HEX win nt's cmd syntax (for exampl a0) + * SC_HEX win nt's cmd syntax (for example a0) * SC_TXT 4nt's syntax ( "bri gre on bla" or "10 on 0") * ********************************************************** * diff --git a/reactos/base/shell/cmd/where.c b/reactos/base/shell/cmd/where.c index 00aaf7b008b..76878b776cf 100644 --- a/reactos/base/shell/cmd/where.c +++ b/reactos/base/shell/cmd/where.c @@ -51,7 +51,7 @@ * * 30-Jul-1998 (John P Price ) * fixed so that it find_which returns NULL if filename is not - * executable (does not have .bat, .com, or .exe extention). + * executable (does not have .bat, .com, or .exe extension). * Before command would to execute any file with any extension (opps!) * * 03-Dec-1998 (Eric Kohl) diff --git a/reactos/base/shell/explorer/traywnd.cpp b/reactos/base/shell/explorer/traywnd.cpp index e4b1619e1a0..67f7640d0fe 100644 --- a/reactos/base/shell/explorer/traywnd.cpp +++ b/reactos/base/shell/explorer/traywnd.cpp @@ -248,7 +248,7 @@ class CStartButton if (hbmp == NULL) goto Cleanup; - /* Caluclate the button rect */ + /* Calculate the button rect */ rcButton.left = 0; rcButton.top = 0; rcButton.right = Size.cx; @@ -2036,7 +2036,7 @@ class CTrayWindow : { HDC hdc; RECT rect; - int backoundPart; + int backgroundPart; GetWindowRect(&rect); OffsetRect(&rect, -rect.left, -rect.top); @@ -2046,28 +2046,28 @@ class CTrayWindow : switch (m_Position) { case ABE_LEFT: - backoundPart = TBP_SIZINGBARLEFT; + backgroundPart = TBP_SIZINGBARLEFT; rect.left = rect.right - GetSystemMetrics(SM_CXSIZEFRAME); break; case ABE_TOP: - backoundPart = TBP_SIZINGBARTOP; + backgroundPart = TBP_SIZINGBARTOP; rect.top = rect.bottom - GetSystemMetrics(SM_CYSIZEFRAME); break; case ABE_RIGHT: - backoundPart = TBP_SIZINGBARRIGHT; + backgroundPart = TBP_SIZINGBARRIGHT; rect.right = rect.left + GetSystemMetrics(SM_CXSIZEFRAME); break; case ABE_BOTTOM: default: - backoundPart = TBP_SIZINGBARBOTTOM; + backgroundPart = TBP_SIZINGBARBOTTOM; rect.bottom = rect.top + GetSystemMetrics(SM_CYSIZEFRAME); break; } - if (IsThemeBackgroundPartiallyTransparent(m_Theme, backoundPart, 0)) + if (IsThemeBackgroundPartiallyTransparent(m_Theme, backgroundPart, 0)) { DrawThemeParentBackground(m_hWnd, hdc, &rect); } - DrawThemeBackground(m_Theme, hdc, backoundPart, 0, &rect, 0); + DrawThemeBackground(m_Theme, hdc, backgroundPart, 0, &rect, 0); ReleaseDC(hdc); return 0; diff --git a/reactos/base/system/diskpart/interpreter.c b/reactos/base/system/diskpart/interpreter.c index beaa62fc3e5..af358ab1ace 100644 --- a/reactos/base/system/diskpart/interpreter.c +++ b/reactos/base/system/diskpart/interpreter.c @@ -2,7 +2,7 @@ * PROJECT: ReactOS DiskPart * LICENSE: GPL - See COPYING in the top level directory * FILE: base/system/diskpart/interpreter.c - * PURPOSE: Reads the user input and then envokes the selected + * PURPOSE: Reads the user input and then invokes the selected * command by the user. * PROGRAMMERS: Lee Schroeder */ @@ -62,7 +62,7 @@ COMMAND cmds[] = /* * InterpretCmd(char *cmd_line, char *arg_line): * compares the command name to a list of available commands, and - * determines which function to envoke. + * determines which function to invoke. */ BOOL InterpretCmd(int argc, LPWSTR *argv) diff --git a/reactos/base/system/diskpart/lang/en-US.rc b/reactos/base/system/diskpart/lang/en-US.rc index 094e8adbd9c..0137f34f10c 100644 --- a/reactos/base/system/diskpart/lang/en-US.rc +++ b/reactos/base/system/diskpart/lang/en-US.rc @@ -87,7 +87,7 @@ BEGIN IDS_MSG_ARG_SYNTAX_ERROR "The argument(s) specified for this command are not valid.\nFor more information on the command type:" END -/* Help Command Descripions */ +/* Help Command Descriptions */ STRINGTABLE BEGIN IDS_HELP_CMD_DESC_ACTIVE "ACTIVE\t\t- Mark the selected partition as active.\n" diff --git a/reactos/base/system/diskpart/partlist.c b/reactos/base/system/diskpart/partlist.c index 154598102f3..abadbd6e1c8 100644 --- a/reactos/base/system/diskpart/partlist.c +++ b/reactos/base/system/diskpart/partlist.c @@ -1015,7 +1015,7 @@ AddDiskToList( } else { - DPRINT1("No matching aligment found! Partition 1 starts at %I64u\n", DiskEntry->LayoutBuffer->PartitionEntry[0].StartingOffset.QuadPart); + DPRINT1("No matching alignment found! Partition 1 starts at %I64u\n", DiskEntry->LayoutBuffer->PartitionEntry[0].StartingOffset.QuadPart); } } else diff --git a/reactos/base/system/services/database.c b/reactos/base/system/services/database.c index 50eb5f53b7d..7036efe0217 100644 --- a/reactos/base/system/services/database.c +++ b/reactos/base/system/services/database.c @@ -1235,7 +1235,7 @@ ScmControlService(PSERVICE Service, #endif Done: - /* Release the contol packet */ + /* Release the control packet */ HeapFree(GetProcessHeap(), 0, ControlPacket); @@ -1477,7 +1477,7 @@ ScmSendStartCommand(PSERVICE Service, #endif Done: - /* Release the contol packet */ + /* Release the control packet */ HeapFree(GetProcessHeap(), 0, ControlPacket); diff --git a/reactos/base/system/services/rpcserver.c b/reactos/base/system/services/rpcserver.c index 965a12230cc..e1a10d40384 100644 --- a/reactos/base/system/services/rpcserver.c +++ b/reactos/base/system/services/rpcserver.c @@ -968,7 +968,7 @@ DWORD RCloseServiceHandle( { DPRINT("Found service handle\n"); - /* Lock the service database exlusively */ + /* Lock the service database exclusively */ ScmLockDatabaseExclusive(); /* Get the pointer to the service record */ diff --git a/reactos/base/system/services/services.h b/reactos/base/system/services/services.h index 51eb4d75ddc..5dc4980c1d1 100644 --- a/reactos/base/system/services/services.h +++ b/reactos/base/system/services/services.h @@ -86,7 +86,7 @@ typedef struct _START_LOCK { DWORD Tag; /* Must be LOCK_TAG */ DWORD TimeWhenLocked; /* Number of seconds since 1970 */ - PSID LockOwnerSid; /* It is NULL if the SCM aquired the lock */ + PSID LockOwnerSid; /* It is NULL if the SCM acquired the lock */ } START_LOCK, *PSTART_LOCK; diff --git a/reactos/base/system/smss/sminit.c b/reactos/base/system/smss/sminit.c index 1c8d218ea34..a5e32be923c 100644 --- a/reactos/base/system/smss/sminit.c +++ b/reactos/base/system/smss/sminit.c @@ -1501,7 +1501,7 @@ SmpInitializeKnownDllsInternal(IN PUNICODE_STRING Directory, DPRINT("Processing known DLL: %wZ-%wZ\n", &RegEntry->Name, &RegEntry->Value); - /* Skip the entry if it's in the exluded list */ + /* Skip the entry if it's in the excluded list */ if ((SmpFindRegistryValue(&SmpExcludeKnownDllsList, RegEntry->Name.Buffer)) || (SmpFindRegistryValue(&SmpExcludeKnownDllsList,