Skip to content
This repository has been archived by the owner on Dec 17, 2017. It is now read-only.

Commit

Permalink
spelling fixes in reactos/base
Browse files Browse the repository at this point in the history
* accessible
* acquire
* additional
* address
* advanced
* alignment
* applying
* assemble
* associate
* asterisk
* available
* average
* background
* calculate
* carriage
* challenge
* change
* chosen
* comprehension
* continuous
* control
* criteria
* current
* decision
* declarations
* default
* definitely
* delimited
* delimiter
* delimiters
* descriptions
* descriptor
* design
* difference
* directories
* directory
* double
* earlier
* endianness
* everything
* exactly
* examined
* example
* excluded
* exclusive
* executable
* expired
* explicitly
* extension
* filesystem
* finalize
* forward
* four values
* fulfilling
* function
* going
* invoke
* invoking
* preempted
* split
  • Loading branch information
jsoref committed Oct 13, 2016
1 parent 716fd4b commit 6586bf1
Show file tree
Hide file tree
Showing 57 changed files with 104 additions and 104 deletions.
2 changes: 1 addition & 1 deletion reactos/base/applications/atactl/atactl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void print_help() {
"\n"
"s<controller id> 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<bus id> For ATA controllers it is channel number.\n"
" Note, usually onboard controller is represented as 2 legacy\n"
Expand Down
6 changes: 3 additions & 3 deletions reactos/base/applications/charmap/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/dxdiag/sound.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/games/solitaire/solgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/magnify/lang/en-US.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/mscutils/eventvwr/eventvwr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/mscutils/servman/lang/en-US.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions reactos/base/applications/mstsc/connectdialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -325,7 +325,7 @@ GeneralOnInit(HWND hwnd,
0);
}

FillServerAddesssCombo(pInfo);
FillServerAddressCombo(pInfo);
ReLoadGeneralPage(pInfo);
}

Expand Down
4 changes: 2 additions & 2 deletions reactos/base/applications/mstsc/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 11 additions & 11 deletions reactos/base/applications/mstsc/licence.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,17 +199,17 @@ 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;
STREAM s;

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);

Expand All @@ -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;

Expand All @@ -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];
Expand All @@ -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. */
Expand All @@ -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 */
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/mstsc/rdesktop.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions reactos/base/applications/mstsc/rdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 2 additions & 2 deletions reactos/base/applications/mstsc/secure.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions reactos/base/applications/network/arp/arp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/network/netstat/netstat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/rapps/available.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/rapps/loaddlg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/rapps/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/rapps/winmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ UpdateApplicationsList(INT EnumType)
}
else if (IS_AVAILABLE_ENUM(EnumType))
{
/* Enum availabled applications */
/* Enum available applications */
EnumAvailableApplications(EnumType, EnumAvailableAppProc);
}

Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/rapps_new/available.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/rapps_new/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ class CMainWindow :
}
else if (IS_AVAILABLE_ENUM(EnumType))
{
/* Enum availabled applications */
/* Enum available applications */
EnumAvailableApplications(EnumType, s_EnumAvailableAppProc);
}

Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/rapps_new/loaddlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/rapps_new/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/sndrec32/audio_wavein.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/sndrec32/sndrec32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/applications/taskmgr/taskmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/services/svchost/svchost.c
Original file line number Diff line number Diff line change
Expand Up @@ -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? */
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/services/tcpsvcs/chargen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <gedmurphy@reactos.org>
*
*/
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/services/telnetd/syslog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
2 changes: 1 addition & 1 deletion reactos/base/services/telnetd/syslog.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
Loading

0 comments on commit 6586bf1

Please sign in to comment.