[BASE] Spelling fixes by Josh Soref. CORE-12286

svn path=/trunk/; revision=73133
This commit is contained in:
Amine Khaldi 2016-11-05 14:55:55 +00:00
parent 86fb59915f
commit d12708671c
133 changed files with 300 additions and 300 deletions

View file

@ -91,14 +91,14 @@ void print_help() {
" will switch device at Scsi2, bus 1, taget_id 1 to UDMA0 mode\n"
" atactl -h -d 30 c1:b0:d0:l0 \n"
" will hide Master (d0:l0) device on secondary (c1:b0) IDE channel\n"
" and lock i/o on this channel for 30 seconds to ensure safity\n"
" and lock i/o on this channel for 30 seconds to ensure safety\n"
" of removal process"
"------\n"
"Device address format:\n"
"\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"
@ -1283,7 +1283,7 @@ ata_scan(
to.WaitForPhysicalLink = lock;
to.Flags = unhide ? UNIATA_ADD_FLAGS_UNHIDE : 0;
printf("Scaning bus for new devices.\n");
printf("Scanning bus for new devices.\n");
if(lock) {
printf("You have %d seconds to connect device.\n", lock);
}

View file

@ -331,7 +331,7 @@ It deletes the current calculation and all sub expressions.
Shortcut from keyboard: ESC
F-E
It enables or it disables the fixed scietific notation.
It enables or it disables the fixed scientific notation.
Shortcut from keyboard: V
0 1 2 3 4 5 6 7 8 9

View file

@ -314,7 +314,7 @@ void run_operator(calc_node_t *result,
calc.is_nan = TRUE;
} else {
operator_list[operation].op_i(&dc, &da, &db);
/* apply final limitator to result */
/* apply final limiter to result */
apply_int_mask(&dc);
}

View file

@ -300,7 +300,7 @@ void run_operator(calc_node_t *result,
operator_list[operation].op_f(&result->number, &a->number, &b->number);
} else {
operator_list[operation].op_i(&result->number, &a->number, &b->number);
/* apply final limitator to result */
/* apply final limiter to result */
apply_int_mask(&result->number);
}
}

View file

@ -11,7 +11,7 @@ void prepare_rpn_result_2(calc_number_t *rpn, TCHAR *buffer, int size, int base)
break;
case IDC_RADIO_DEC:
/*
* Modifed from 17 to 16 for fixing this bug:
* Modified from 17 to 16 for fixing this bug:
* 14+14+6.3+6.3= 40.5999999 instead of 40.6
* So, it's probably better to leave the least
* significant digit out of the display.
@ -25,7 +25,7 @@ void prepare_rpn_result_2(calc_number_t *rpn, TCHAR *buffer, int size, int base)
TCHAR *ptr, *dst;
ptr = buffer + _stprintf(buffer, TEXT("%#*.*f"), width, ((MAX_LD_WIDTH-width-1)>=0) ? MAX_LD_WIDTH-width-1 : 0, rpn->f);
/* format sring ensures there is a '.': */
/* format string ensures there is a '.': */
dst = _tcschr(buffer, TEXT('.'));
while (--ptr > dst)
if (*ptr != TEXT('0'))

View file

@ -34,7 +34,7 @@
* Corrected precision underflow/overflow when working with trigonometric functions.
* cbrt() function is not used if compiling into ReactOS build system.
* Resources are moved into /res directory.
* Added new (partial) support for other languages: bulgarian, spanish, german, dutch, polish, russian, slovak, ukraianian.
* Added new (partial) support for other languages: bulgarian, spanish, german, dutch, polish, russian, slovak, ukrainian.
* Decimal precision of number with standard layout has been limited to 16 digits because the output display is smaller here (GMP version only).
* Fixed buffer overflow with function update_lcd_display().
* The decimal point is now preserved when switching to temporary scientific notation.

View file

@ -435,7 +435,7 @@ KeyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam)
static void update_lcd_display(HWND hwnd)
{
/*
* muliply size of calc.buffer by 2 because it may
* multiply size of calc.buffer by 2 because it may
* happen that separator is used between each digit.
* Also added little additional space for dot and '\0'.
*/

View file

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

View file

@ -69,7 +69,7 @@ CGridView::SetFont(
)
{
// Create a temperary container for the new font
// Create a temporary container for the new font
CurrentFont NewFont = { 0 };
NewFont.FontName = FontName;
@ -224,7 +224,7 @@ CGridView::OnSize(
SWP_NOZORDER | SWP_SHOWWINDOW);
// Get the client area we can draw on. The position we set above includes
// a scrollbar which we obvioulsy can't draw on. GetClientRect gives us
// a scrollbar which we obviously can't draw on. GetClientRect gives us
// the size without the scroll, and it's more efficient than getting the
// scroll metrics and calculating the size from that
RECT ClientRect;

View file

@ -2,7 +2,7 @@
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS Clipboard Viewer
* FILE: base/applications/clipbrd/scrollutils.c
* PURPOSE: Scrolling releated helper functions.
* PURPOSE: Scrolling related helper functions.
* PROGRAMMERS: Ricardo Hanke
*/

View file

@ -2,7 +2,7 @@
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS Clipboard Viewer
* FILE: base/applications/clipbrd/scrollutils.h
* PURPOSE: Scrolling releated helper functions.
* PURPOSE: Scrolling related helper functions.
* PROGRAMMERS: Ricardo Hanke
*/

View file

@ -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 it's definitely not WHQL signed */
return FALSE;
}
@ -126,7 +126,7 @@ SetDeviceDetails(HWND hwndDlg, LPCGUID classGUID, LPCWSTR lpcstrDescription)
SetDlgItemInt(hwndDlg, IDC_STATIC_DSOUND_PRODUCTID, waveOut.wPid, FALSE);
/* set the vendor id */
SetDlgItemInt(hwndDlg, IDC_STATIC_DSOUND_VENDORID, waveOut.wMid, FALSE);
/* check if its a wdm audio driver */
/* check if it's a WDM audio driver */
if (waveOut.wPid == MM_MSFT_WDMAUDIO_WAVEOUT)
SendDlgItemMessageW(hwndDlg, IDC_STATIC_DSOUND_TYPE, WM_SETTEXT, 0, (LPARAM)L"WDM");

View file

@ -20,7 +20,7 @@ END
STRINGTABLE
BEGIN
IDS_ERROR_PRIV "Failed to set the driver load privilige (0x%X)\n"
IDS_ERROR_PRIV "Failed to set the driver load privilege (0x%X)\n"
IDS_ERROR_FILTERS "Failed to list the filters (0x%X)\n"
IDS_ERROR_LOAD "Failed to load the filter (0x%X)\n"
IDS_ERROR_UNLOAD "Failed to unload the filter (0x%X)\n"

View file

@ -94,7 +94,7 @@ Display_DrawText(HDC hDC, DISPLAYDATA* pData, int nYPos)
TextOutW(hDC, 0, y, szCaption, (INT)wcslen(szCaption));
y += tm.tmHeight + SPACING1;
/* Draw a seperation Line */
/* Draw a separation Line */
SelectObject(hDC, GetStockObject(BLACK_PEN));
MoveToEx(hDC, 0, y, NULL);
LineTo(hDC, 10000, y);
@ -117,7 +117,7 @@ Display_DrawText(HDC hDC, DISPLAYDATA* pData, int nYPos)
TextOutW(hDC, 0, y, szCaption, (INT)wcslen(szCaption));
y += tm.tmHeight + 1;
/* Draw a seperation Line */
/* Draw a separation Line */
SelectObject(hDC, GetStockObject(BLACK_PEN));
MoveToEx(hDC, 0, y, NULL);
LineTo(hDC, 10000, y);

View file

@ -204,7 +204,7 @@ WinMain (HINSTANCE hThisInstance,
/* The class is registered, let's create the main window */
hMainWnd = CreateWindowExW(
0, /* Extended possibilites for variation */
0, /* Extended possibilities for variation */
g_szFontViewClassName, /* Classname */
g_ExtLogFontW.elfFullName,/* Title Text */
WS_OVERLAPPEDWINDOW, /* default window */

View file

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

View file

@ -174,7 +174,7 @@ GetLayoutID(LPTSTR szLayoutNum, LPTSTR szLCID, SIZE_T LCIDLength)
RegCloseKey(hKey);
}
// Look for a substitude of this layout
// Look for a substitute of this layout
if (RegOpenKeyEx(HKEY_CURRENT_USER, _T("Keyboard Layout\\Substitutes"), 0, KEY_QUERY_VALUE, &hKey) == ERROR_SUCCESS)
{
dwBufLen = sizeof(szTempLCID);

View file

@ -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

View file

@ -1061,14 +1061,14 @@ BuildFileFilterAndDeviceMenu(VOID)
/* Add the description */
StringCbPrintfEx(c, uSizeRemain, &c, &uSizeRemain, 0, _T("%s (%s)"), szFriendlyName, szExtensionList);
/* Skip one char to seperate the description from the filter mask */
/* Skip one char to separate the description from the filter mask */
c++;
uSizeRemain -= sizeof(*c);
/* Append the filter mask */
StringCbCopyEx(c, uSizeRemain, szExtensionList, &c, &uSizeRemain, 0);
/* Skip another char to seperate the elements of the filter mask */
/* Skip another char to separate the elements of the filter mask */
c++;
uSizeRemain -= sizeof(*c);
}
@ -1096,7 +1096,7 @@ BuildFileFilterAndDeviceMenu(VOID)
/* Add the default (all files) description */
StringCbPrintfEx(c, uSizeRemain, &c, &uSizeRemain, 0, _T("%s (%s)"), szDefaultFilter, szExtensionList);
/* Skip one char to seperate the description from the filter mask */
/* Skip one char to separate the description from the filter mask */
c++;
uSizeRemain -= sizeof(*c);
@ -1122,7 +1122,7 @@ Failure:
/* Add the default (all files) description */
StringCbPrintfEx(c, uSizeRemain, &c, &uSizeRemain, 0, _T("%s (%s)"), szDefaultFilter, szDefaultExtension);
/* Skip one char to seperate the description from the filter mask */
/* Skip one char to separate the description from the filter mask */
c++;
uSizeRemain -= sizeof(*c);

View file

@ -735,15 +735,15 @@ ServicesPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
case IDC_BTN_SERVICES_ACTIVATE:
{
BOOL bAreThereModifs = FALSE;
BOOL bAreThereMods = FALSE;
int index = -1; // From the beginning.
while ((index = ListView_GetNextItem(hServicesListCtrl, index, LVNI_ALL)) != -1)
{
bAreThereModifs = ValidateItem(index, TRUE, FALSE) || bAreThereModifs; // The order is verrrrrry important !!!!
bAreThereMods = ValidateItem(index, TRUE, FALSE) || bAreThereMods; // The order is verrrrrry important !!!!
}
if (bAreThereModifs)
if (bAreThereMods)
{
Update_Btn_States(hDlg);
PropSheet_Changed(GetParent(hServicesPage), hServicesPage);
@ -754,15 +754,15 @@ ServicesPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
case IDC_BTN_SERVICES_DEACTIVATE:
{
BOOL bAreThereModifs = FALSE;
BOOL bAreThereMods = FALSE;
int index = -1; // From the beginning.
while ((index = ListView_GetNextItem(hServicesListCtrl, index, LVNI_ALL)) != -1)
{
bAreThereModifs = ValidateItem(index, FALSE, FALSE) || bAreThereModifs; // The order is verrrrrry important !!!!
bAreThereMods = ValidateItem(index, FALSE, FALSE) || bAreThereMods; // The order is verrrrrry important !!!!
}
if (bAreThereModifs)
if (bAreThereMods)
{
Update_Btn_States(hDlg);
PropSheet_Changed(GetParent(hServicesPage), hServicesPage);
@ -927,7 +927,7 @@ ServicesPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
if (lpServiceConfig->dwStartType == SERVICE_DISABLED) // We have a disabled service which is becoming to be enabled.
{
// 3a- Retrive the properties of the disabled service from the registry.
// 3a- Retrieve the properties of the disabled service from the registry.
RegistryDisabledServiceItemParams params = {};
QUERY_REGISTRY_KEYS_TABLE KeysQueryTable[2] = {};

View file

@ -1,5 +1,5 @@
/*
* PROJECT: ReactOS Device Managment
* PROJECT: ReactOS Device Management
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/mscutils/devmgmt/devmgmt.c
* PURPOSE: Bootstrap for the device manager

View file

@ -340,7 +340,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) &&

View file

@ -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)
{

View file

@ -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)
{

View file

@ -280,9 +280,9 @@ BEGIN
IDS_PROGRESS_INFO_STOP "ReactOS is attempting to stop the following service"
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
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_SUCCESS "Service Created Successfully"
IDS_DELETE_SUCCESS "Service Deleted Successfully"
IDS_CREATE_REQ "Fields marked with an\nasterisk are mandatory"
IDS_DELETE_STOP "You must manually stop the service before deleting!"
END

View file

@ -2,7 +2,7 @@
* PROJECT: ReactOS Services
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/mscutils/servman/misc.c
* PURPOSE: miscallanous functions
* PURPOSE: miscellaneous functions
* COPYRIGHT: Copyright 2005 Thomas Weidenmueller <w3seek@reactos.org>
* Copyright 2006 Ged Murphy <gedmurphy@gmail.com>
*

View file

@ -17,8 +17,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* three seperate function for speed when decompressing the bitmaps
when modifing one function make the change in the others
/* three separate function for speed when decompressing the bitmaps
when modifying one function make the change in the others
jay.sorg@gmail.com */
/* indent is confused by this file */

View file

@ -33,7 +33,7 @@ extern int g_pstcache_fd[];
/*
* TODO: Test for optimal value of BUMP_COUNT. TO_TOP gives lowest cpu utilisation but using
* a positive value will hopefully result in less frequently used bitmaps having a greater chance
* of being evicted from the cache, and therby reducing the need to load bitmaps from disk.
* of being evicted from the cache, and thereby reducing the need to load bitmaps from disk.
* (Jeroen)
*/
#define BUMP_COUNT 40

View file

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

View file

@ -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
@ -323,7 +323,7 @@ enum RDP_INPUT_DEVICE
#define RDP_INFO_AUTOLOGON 0x00000008
#define RDP_INFO_UNICODE 0x00000010
#define RDP_INFO_MAXIMIZESHELL 0x00000020
#define RDP_INFO_COMPRESSION 0x00000080 /* mppc compression with 8kB histroy buffer */
#define RDP_INFO_COMPRESSION 0x00000080 /* mppc compression with 8kB history buffer */
#define RDP_INFO_ENABLEWINDOWSKEY 0x00000100
#define RDP_INFO_COMPRESSION2 0x00000200 /* rdp5 mppc compression with 64kB history buffer */
#define RDP_INFO_REMOTE_CONSOLE_AUDIO 0x00002000

View file

@ -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 a 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 */
@ -343,7 +343,7 @@ licence_process_error_alert(STREAM s)
return;
}
/* handle error codes, for now, jsut report them */
/* handle error codes, for now, just report them */
switch (error_code)
{
case 0x6: // ERR_NO_LICENSE_SERVER
@ -363,7 +363,7 @@ licence_process_error_alert(STREAM s)
break;
}
/* handle error codes, for now, jsut report them */
/* handle error codes, for now, just report them */
switch (error_info)
{
default:
@ -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:

View file

@ -25,7 +25,7 @@
#define RDP_INFO_AUTOLOGON 0x00000008
#define RDP_INFO_UNICODE 0x00000010
#define RDP_INFO_MAXIMIZESHELL 0x00000020
#define RDP_INFO_COMPRESSION 0x00000080 /* mppc compression with 8kB histroy buffer */
#define RDP_INFO_COMPRESSION 0x00000080 /* mppc compression with 8kB history buffer */
#define RDP_INFO_ENABLEWINDOWSKEY 0x00000100
#define RDP_INFO_COMPRESSION2 0x00000200 /* rdp5 mppc compression with 64kB history buffer */
#define RDP_INFO_REMOTE_CONSOLE_AUDIO 0x00002000

View file

@ -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

View file

@ -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 */

View file

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

View file

@ -58,7 +58,7 @@ static int g_clip_left = 0;
static int g_clip_top = 0;
static int g_clip_right = 800;
static int g_clip_bottom = 600;
static RECT g_wnd_clip; /* this client area of whats actually visable */
static RECT g_wnd_clip; /* this client area of whats actually visible */
/* set from WM_SIZE */
/*****************************************************************************/

View file

@ -42,11 +42,11 @@
/*
* Globals
*/
const char SEPERATOR = '-';
const char SEPARATOR = '-';
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)
{
@ -287,7 +287,7 @@ INT Addhost(PTCHAR pszInetAddr, PTCHAR pszEthAddr, PTCHAR pszIfAddr)
}
for (i=0; i<17; i++)
{
if (pszEthAddr[i] == SEPERATOR)
if (pszEthAddr[i] == SEPARATOR)
continue;
if (!isxdigit(pszEthAddr[i]))

View file

@ -2099,7 +2099,7 @@ void setrunique(int argc, const char *argv[])
code = runique;
}
/* change directory to perent directory */
/* change directory to parent directory */
void cdup(int argc, const char *argv[])
{
if (command("CDUP") == ERROR && code == 500) {
@ -2265,7 +2265,7 @@ void modtime(int argc, const char *argv[])
}
/*
* show status on reomte machine
* show status on remote machine
*/
void rmtstatus(int argc, const char *argv[])
{

View file

@ -201,7 +201,7 @@ int login(const char *host)
acct = pacct;
}
while (user == NULL) {
const char *myname = "none"; // This needs to become the usename env
const char *myname = "none"; // This needs to become the username env
if (myname)
printf("Name (%s:%s): ", host, myname);
@ -614,7 +614,7 @@ null();// oldintp = signal(SIGPIPE, SIG_IGN);
(void) fflush(stdout);
hashbytes += HASHBYTES;
}
// Szurgot: The following code is unncessary on Win32.
// Szurgot: The following code is unnecessary on Win32.
// (void) fputcSocket(dout, '\r');
// bytes++;
}

View file

@ -540,7 +540,7 @@ VOID ShowInfo(BOOL bAll)
if (pAdapter->HaveWins)
{
_tprintf(_T("\tPrimary WINS Server . . . . . . . : %s\n"), pAdapter->PrimaryWinsServer.IpAddress.String);
_tprintf(_T("\tSecondard WINS Server . . . . . . : %s\n"), pAdapter->SecondaryWinsServer.IpAddress.String);
_tprintf(_T("\tSecondary WINS Server . . . . . . : %s\n"), pAdapter->SecondaryWinsServer.IpAddress.String);
}
if (pAdapter->DhcpEnabled)

View file

@ -269,7 +269,7 @@ VOID ShowIpStatistics()
_tprintf(_T(" %-34s = %lu\n"), _T("Reassembly Required"), pIpStats->dwReasmReqds);
_tprintf(_T(" %-34s = %lu\n"), _T("Reassembly Succesful"), pIpStats->dwReasmOks);
_tprintf(_T(" %-34s = %lu\n"), _T("Reassembly Failures"), pIpStats->dwReasmFails);
// _tprintf(_T(" %-34s = %lu\n"), _T("Datagrams succesfully fragmented"), NULL); /* FIXME: what is this one? */
// _tprintf(_T(" %-34s = %lu\n"), _T("Datagrams successfully fragmented"), NULL); /* FIXME: what is this one? */
_tprintf(_T(" %-34s = %lu\n"), _T("Datagrams Failing Fragmentation"), pIpStats->dwFragFails);
_tprintf(_T(" %-34s = %lu\n"), _T("Fragments Created"), pIpStats->dwFragCreates);
}
@ -517,7 +517,7 @@ VOID ShowUdpTable()
PCHAR
GetPortName(UINT Port, PCSTR Proto, CHAR Name[], INT NameLen)
{
struct servent *pSrvent;
struct servent *pServent;
if (bDoShowNumbers)
{
@ -525,8 +525,8 @@ GetPortName(UINT Port, PCSTR Proto, CHAR Name[], INT NameLen)
return Name;
}
/* Try to translate to a name */
if ((pSrvent = getservbyport(Port, Proto)))
strcpy(Name, pSrvent->s_name );
if ((pServent = getservbyport(Port, Proto)))
strcpy(Name, pServent->s_name );
else
sprintf(Name, "%d", htons((WORD)Port));
return Name;

View file

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

View file

@ -182,7 +182,7 @@ GetTime(PAPPINFO pInfo)
{
LARGE_INTEGER Time;
/* Get the system time using preformance counters if available */
/* Get the system time using performance counters if available */
if (pInfo->bUsePerformanceCounter)
{
if (QueryPerformanceCounter(&Time))
@ -310,7 +310,7 @@ ReceivePacket(PAPPINFO pInfo)
DebugPrint(_T("Receiving packet. Available buffer, %d bytes... "), MAX_PING_PACKET_SIZE);
/* monitor icmpSock for incomming connections */
/* monitor icmpSock for incoming connections */
FD_ZERO(&readFDS);
FD_SET(pInfo->icmpSock, &readFDS);
@ -345,7 +345,7 @@ ReceivePacket(PAPPINFO pInfo)
{
/* get time packet was received */
pInfo->lTimeEnd = GetTime(pInfo);
DebugPrint(_T("reveived %d bytes\n"), iSockRet);
DebugPrint(_T("received %d bytes\n"), iSockRet);
bRet = TRUE;
}
else

View file

@ -65,7 +65,7 @@ typedef struct _APPINFO
SOCKET icmpSock; // socket descriptor
SOCKADDR_IN source, dest; // source and destination address info
PECHO_REPLY_HEADER SendPacket; // ICMP echo packet
PIPv4_HEADER RecvPacket; // return reveive packet
PIPv4_HEADER RecvPacket; // return receive packet
BOOL bUsePerformanceCounter; // whether to use the high res performance counter
LARGE_INTEGER TicksPerMs; // number of millisecs in relation to proc freq

View file

@ -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)
*/

View file

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

View file

@ -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

View file

@ -221,7 +221,7 @@ UpdateApplicationsList(INT EnumType)
}
else if (IS_AVAILABLE_ENUM(EnumType))
{
/* Enum availabled applications */
/* Enum available applications */
EnumAvailableApplications(EnumType, EnumAvailableAppProc);
}

View file

@ -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)
*/

View file

@ -1192,7 +1192,7 @@ private:
}
else if (IS_AVAILABLE_ENUM(EnumType))
{
/* Enum availabled applications */
/* Enum available applications */
EnumAvailableApplications(EnumType, s_EnumAvailableAppProc);
}

View file

@ -101,7 +101,7 @@ public:
/* 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));

View file

@ -137,7 +137,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

View file

@ -33,7 +33,7 @@ VOID MainUsage(VOID)
_T("\t interrogate : Sends a INTERROGATE control request to a service.\n")
_T("\t continue : Sends a CONTINUE control request to a service.\n")
_T("\t stop : Sends a STOP request to a service.\n")
_T("\t config : Changes the configuration of a service (persistant).\n")
_T("\t config : Changes the configuration of a service (persistent).\n")
_T("\t description : Changes the description of a service.\n")
_T("\t failure : Changes the actions taken by a service upon failure.\n")
_T("\t qc : Queries the configuration information for a service.\n")
@ -48,7 +48,7 @@ VOID MainUsage(VOID)
_T("\t GetKeyName : Gets the ServiceKeyName for a service.\n")
_T("\t EnumDepend : Enumerates Service Dependencies.\n"));
// "\n")
// "\tService Name Independant Commands:\n")
// "\tService Name Independent Commands:\n")
// "\t boot : (ok | bad) Indicates whether the last boot should\n")
// "\t be saved as the last-known-good boot configuration\n")
// "\t Lock : Locks the SCM Database\n")

View file

@ -164,7 +164,7 @@ ScreenSaverConfigureDialog(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
}
// This function is only called one time before opening the configuration dialog.
// Use it to show a message that no configuration is necesssary and return FALSE to indicate that no configuration dialog shall be opened.
// Use it to show a message that no configuration is necessary and return FALSE to indicate that no configuration dialog shall be opened.
BOOL
WINAPI
RegisterDialogClasses(HANDLE hInst)

View file

@ -268,7 +268,7 @@ int wmain(int argc, WCHAR *argv[])
return EXIT_FAILURE;
}
/* Ensure that the timout amount is not too high or a negative number */
/* Ensure that the timeout amount is not too high or a negative number */
if (opts.shutdown_delay > MAX_SHUTDOWN_TIMEOUT)
{
ConResPrintf(StdErr, IDS_ERROR_TIMEOUT, opts.shutdown_delay);

View file

@ -19,7 +19,7 @@ audio_membuffer::alloc_mem_(unsigned int bytes)
if (bytes == 0)
return;
/* Checks previsiously alloc'd memory and frees it */
/* Checks previously alloc'd memory and frees it */
if (audio_data)
delete[] audio_data;
@ -99,7 +99,7 @@ audio_membuffer::truncate_(void)
audio_data = newbuf;
buf_size = bytes_received;
/* Buffer truncation successfull. Now the buffer size is exactly big
/* Buffer truncation successful. Now the buffer size is exactly big
as much audio data was received */
}
}

View file

@ -178,11 +178,11 @@ class audio_membuffer : public audio_receiver, public audio_producer
void alloc_seconds(float);
/* resizes in bytes the current buffer, without discarding
previsiously audio data received */
previously audio data received */
void resize_bytes(unsigned int);
/* resizes in seconds the current buffer, without discarding
previsiously audio data received */
previously audio data received */
void resize_seconds( unsigned int );
void resize_seconds( float );

View file

@ -42,7 +42,7 @@ audio_resampler_acm::init_(void)
wformat_dst.nAvgBytesPerSec = audfmt_out.byte_rate();
wformat_dst.nBlockAlign = audfmt_out.block_align();
/* Init acm structures completed successfull */
/* Init acm structures completed successful */
}
/* Public Functions */

View file

@ -168,7 +168,7 @@ audio_wavein::close(void)
/* Updating status */
status = WAVEIN_NOTREADY;
/* Wakeing up recording thread, so it can receive
/* Waking up recording thread, so it can receive
the `MM_WIM_CLOSE' message then dies */
if (wakeup_recthread)
SetEvent(wakeup_recthread);
@ -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 */

View file

@ -30,7 +30,7 @@ class audio_wavein
about open recording, close, and sound data recorded */
static DWORD WINAPI recording_procedure(LPVOID);
/* When this event is signaled, then the previsiously created
/* When this event is signaled, then the previously created
recording thread will wake up and start recording audio
and will pass audio data to an `audio_receiver' object. */
HANDLE wakeup_recthread;

View file

@ -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,

View file

@ -459,12 +459,12 @@ LoadDialogCtrls(
/* enumerate controls */
SndMixerEnumConnections(PrefContext->MixerWindow->Mixer, PrefContext->SelectedLine, EnumConnectionsCallback, (PVOID)PrefContext);
/* get last line seperator */
/* get last line separator */
hDlgCtrl = GetDlgItem(PrefContext->MixerWindow->hWnd, IDC_LINE_SEP * PrefContext->Count);
if (hDlgCtrl != NULL)
{
/* hide last seperator */
/* hide last separator */
ShowWindow(hDlgCtrl, SW_HIDE);
}

View file

@ -975,7 +975,7 @@ MainWindowProc(HWND hwnd,
}
/* initialize perferences */
/* initialize preferences */
ZeroMemory(&Preferences, sizeof(Preferences));
/* store mixer */

View file

@ -434,7 +434,7 @@ void GraphCtrl_DrawPoint(TGraphCtrl* this)
SRCCOPY);
/* establish a rectangle over the right side of plot */
/* which now needs to be cleaned up proir to adding the new point */
/* which now needs to be cleaned up prior to adding the new point */
rectCleanUp = this->m_rectPlot;
rectCleanUp.left = rectCleanUp.right - this->m_nShiftPixels;

View file

@ -632,7 +632,7 @@ BOOL PerfDataGetCommandLine(ULONG Index, LPWSTR lpCommandLine, ULONG nMaxCount)
NULL);
if (!result)
{
/* Weird, after sucessfully reading the mem of that process
/* Weird, after successfully reading the mem of that process
various times it fails now, forget it and bail out */
HeapFree(GetProcessHeap(), 0, new_entry);
goto cleanup;

View file

@ -99,7 +99,7 @@ void AdjustFrameSize(HWND hCntrl, HWND hDlg, int nXDifference, int nYDifference,
InvalidateRect(hCntrl, NULL, TRUE);
}
static void AdjustControlPostion(HWND hCntrl, HWND hDlg, int nXDifference, int nYDifference)
static void AdjustControlPosition(HWND hCntrl, HWND hDlg, int nXDifference, int nYDifference)
{
AdjustFrameSize(hCntrl, hDlg, nXDifference, nYDifference, 0);
}
@ -256,18 +256,18 @@ PerformancePageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
AdjustCntrlPos(IDS_TOTALS_PROCESS_COUNT, hDlg, 0, nYDifference);
AdjustCntrlPos(IDS_TOTALS_THREAD_COUNT, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePageCommitChargeTotalEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePageCommitChargeLimitEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePageCommitChargePeakEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePageKernelMemoryTotalEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePageKernelMemoryPagedEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePageKernelMemoryNonPagedEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePagePhysicalMemoryTotalEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePagePhysicalMemoryAvailableEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePagePhysicalMemorySystemCacheEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePageTotalsHandleCountEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePageTotalsProcessCountEdit, hDlg, 0, nYDifference);
AdjustControlPostion(hPerformancePageTotalsThreadCountEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePageCommitChargeTotalEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePageCommitChargeLimitEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePageCommitChargePeakEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePageKernelMemoryTotalEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePageKernelMemoryPagedEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePageKernelMemoryNonPagedEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePagePhysicalMemoryTotalEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePagePhysicalMemoryAvailableEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePagePhysicalMemorySystemCacheEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePageTotalsHandleCountEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePageTotalsProcessCountEdit, hDlg, 0, nYDifference);
AdjustControlPosition(hPerformancePageTotalsThreadCountEdit, hDlg, 0, nYDifference);
nXDifference += lastX;
nYDifference += lastY;

View file

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

View file

@ -825,7 +825,7 @@ LogfReadEvents(PLOGFILE LogFile,
/* Go to the next event record */
/*
* NOTE: This implicitely supposes that all the other record numbers
* NOTE: This implicitly supposes that all the other record numbers
* are consecutive (and do not jump than more than one unit); but if
* it is not the case, then we would prefer here to call some
* "get_next_record_number" function.

View file

@ -138,10 +138,10 @@ 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? */
/* Ok, so we have a string -- was it preceded by a -K or /K? */
if (pGroupName)
{
/* Yes it was, remember this, and don't overwrite it later */

View file

@ -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>
*
*/

View file

@ -96,7 +96,7 @@ RetrieveQuote(SOCKET sock)
lpStr = lpQuotes;
for (i = 1; i <= quoteNum; i++)
{
/* move past proceding quote */
/* move past preceding quote */
lpStr++;
if (i == quoteNum)

View file

@ -148,7 +148,7 @@ use_default:
/******************************************************************************
* closelog
*
* Close desriptor used to write to system logger.
* Close descriptor used to write to system logger.
*/
void closelog()
{

View file

@ -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. */

View file

@ -143,7 +143,7 @@ typedef ULONG (*PCABINET_CODEC_UNCOMPRESS)(PVOID OutputBuffer,
#define CS_NOMEMORY 0x0001 /* Not enough free memory */
#define CS_BADSTREAM 0x0002 /* Bad data stream */
/* Codec indentifiers */
/* Codec identifiers */
#define CAB_CODEC_RAW 0x00
#define CAB_CODEC_LZX 0x01
#define CAB_CODEC_MSZIP 0x02

View file

@ -814,7 +814,7 @@ PINICACHEKEY
IniCacheInsertKey(
PINICACHESECTION Section,
PINICACHEKEY AnchorKey,
INSERTATION_TYPE InsertationType,
INSERTION_TYPE InsertionType,
PWCHAR Name,
PWCHAR Data)
{
@ -877,15 +877,15 @@ IniCacheInsertKey(
Section->FirstKey = Key;
Section->LastKey = Key;
}
else if ((InsertationType == INSERT_FIRST) ||
((InsertationType == INSERT_BEFORE) && ((AnchorKey == NULL) || (AnchorKey == Section->FirstKey))))
else if ((InsertionType == INSERT_FIRST) ||
((InsertionType == INSERT_BEFORE) && ((AnchorKey == NULL) || (AnchorKey == Section->FirstKey))))
{
/* Insert at the head of the list */
Section->FirstKey->Prev = Key;
Key->Next = Section->FirstKey;
Section->FirstKey = Key;
}
else if ((InsertationType == INSERT_BEFORE) && (AnchorKey != NULL))
else if ((InsertionType == INSERT_BEFORE) && (AnchorKey != NULL))
{
/* Insert before the anchor key */
Key->Next = AnchorKey;
@ -893,14 +893,14 @@ IniCacheInsertKey(
AnchorKey->Prev->Next = Key;
AnchorKey->Prev = Key;
}
else if ((InsertationType == INSERT_LAST) ||
((InsertationType == INSERT_AFTER) && ((AnchorKey == NULL) || (AnchorKey == Section->LastKey))))
else if ((InsertionType == INSERT_LAST) ||
((InsertionType == INSERT_AFTER) && ((AnchorKey == NULL) || (AnchorKey == Section->LastKey))))
{
Section->LastKey->Next = Key;
Key->Prev = Section->LastKey;
Section->LastKey = Key;
}
else if ((InsertationType == INSERT_AFTER) && (AnchorKey != NULL))
else if ((InsertionType == INSERT_AFTER) && (AnchorKey != NULL))
{
/* Insert after the anchor key */
Key->Next = AnchorKey->Next;

View file

@ -69,7 +69,7 @@ typedef enum
INSERT_BEFORE,
INSERT_AFTER,
INSERT_LAST
} INSERTATION_TYPE;
} INSERTION_TYPE;
/* FUNCTIONS ****************************************************************/
@ -115,7 +115,7 @@ PINICACHEKEY
IniCacheInsertKey(
PINICACHESECTION Section,
PINICACHEKEY AnchorKey,
INSERTATION_TYPE InsertationType,
INSERTION_TYPE InsertionType,
PWCHAR Name,
PWCHAR Data);

View file

@ -163,7 +163,7 @@ InstallDriver(
(wcslen(Driver) + 1) * sizeof(WCHAR));
if (NT_SUCCESS(Status))
{
/* Restart the device, so it will use the driver we registred */
/* Restart the device, so it will use the driver we registered */
deviceInstalled = ResetDevice(DeviceId);
}

View file

@ -1488,7 +1488,7 @@ IsDiskSizeValid(PPARTENTRY PartEntry)
if (size < RequiredPartitionDiskSpace)
{
/* partition is too small so ask for another partion */
/* partition is too small so ask for another partition */
DPRINT1("Partition is too small (size: %I64u MB), required disk space is %lu MB\n", size, RequiredPartitionDiskSpace);
return FALSE;
}
@ -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);

View file

@ -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

View file

@ -207,7 +207,7 @@ typedef struct
{
LIST_ENTRY ListEntry;
ULONG DiskNumber;
ULONG Idendifier;
ULONG Identifier;
ULONG Signature;
} BIOS_DISK, *PBIOS_DISK;

View file

@ -322,7 +322,7 @@ ProgressSetStep(
/* Calculate new percentage */
NewPercent = (ULONG)(((100.0 * (float)Bar->CurrentStep) / (float)Bar->StepCount) + 0.5);
/* Redraw precentage if changed */
/* Redraw percentage if changed */
if (Bar->Percent != NewPercent)
{
Bar->Percent = NewPercent;

View file

@ -630,7 +630,7 @@ OnPaint(HWND hWnd, WPARAM wParam, LPARAM lParam)
PATCOPY);
SelectObject(hdc, hOldBrush);
/* Draw dark verical line */
/* Draw dark vertical line */
hPen = CreatePen(PS_SOLID, 0, DARK_BLUE);
hOldPen = (HPEN)SelectObject(hdc, hPen);
MoveToEx(hdc, rcRightPanel.left, rcRightPanel.top, NULL);

View file

@ -14,7 +14,7 @@
* TODO:
* - PrintAllAssociations might could be optimized to not fetch all registry subkeys under 'Classes', just the ones that start with '.'
* - Make sure that non-administrator users can list associations, and get appropriate error messages when they don't have sufficient
* priveleges to perform an operation
* privileges to perform an operation
*/
#include "precomp.h"

View file

@ -30,7 +30,7 @@
* implement proper BATCH file nesting and other improvements.
*
* 16 Jul 1998 (John P Price <linux-guru@gcfl.net>)
* Seperated commands into individual files.
* Separated commands into individual files.
*
* 19 Jul 1998 (Hans B Pufal) [HBP_001]
* Preserve state of echo flag across batch calls.
@ -104,7 +104,7 @@ LPTSTR FindArg(TCHAR Char, BOOL *IsParam0)
/*
* Batch_params builds a parameter list in newlay allocated memory.
* Batch_params builds a parameter list in newly allocated memory.
* The parameters consist of null terminated strings with a final
* NULL character signalling the end of the parameters.
*

View file

@ -8,7 +8,7 @@
* started.
*
* 16 Jul 1998 (John P Price)
* Seperated commands into individual files.
* Separated commands into individual files.
*
* 27-Jul-1998 (John P Price <linux-guru@gcfl.net>)
* added config.h include

View file

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

View file

@ -81,7 +81,7 @@
* added showcmds function to show commands and options available
*
* 07-Aug-1998 (John P Price <linux-guru@gcfl.net>)
* 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)
@ -137,8 +137,8 @@
*
* 06-jul-2005 (Magnus Olsen <magnus@greatlord.com>)
* translate '%errorlevel%' to the internal value.
* Add proper memmory alloc ProcessInput, the error
* handling for memmory handling need to be improve
* Add proper memory alloc ProcessInput, the error
* handling for memory handling need to be improve
*/
#include "precomp.h"
@ -181,7 +181,7 @@ WORD wDefColor; /* default color */
* insert commas into a number
*/
INT
ConvertULargeInteger(ULONGLONG num, LPTSTR des, UINT len, BOOL bPutSeperator)
ConvertULargeInteger(ULONGLONG num, LPTSTR des, UINT len, BOOL bPutSeparator)
{
TCHAR temp[39]; /* maximum length with nNumberGroups == 1 */
UINT n, iTarget;
@ -192,11 +192,11 @@ ConvertULargeInteger(ULONGLONG num, LPTSTR des, UINT len, BOOL bPutSeperator)
n = 0;
iTarget = nNumberGroups;
if (!nNumberGroups)
bPutSeperator = FALSE;
bPutSeparator = FALSE;
do
{
if (iTarget == n && bPutSeperator)
if (iTarget == n && bPutSeparator)
{
iTarget += nNumberGroups + 1;
temp[38 - n++] = cThousandSeparator;
@ -321,7 +321,7 @@ Execute(LPTSTR Full, LPTSTR First, LPTSTR Rest, PARSED_COMMAND *Cmd)
TRACE ("Execute: \'%s\' \'%s\'\n", debugstr_aw(First), debugstr_aw(Rest));
/* Though it was already parsed once, we have a different set of rules
for parsing before we pass to CreateProccess */
for parsing before we pass to CreateProcess */
if (First[0] == _T('/') || (First[0] && First[1] == _T(':')))
{
/* Use the entire first word as the program name (no change) */
@ -1785,7 +1785,7 @@ static VOID Cleanup()
ParseCommandLine (_T("\\cmdexit.bat"));
}
#ifdef FEATURE_DIECTORY_STACK
#ifdef FEATURE_DIRECTORY_STACK
/* destroy directory stack */
DestroyDirectoryStack ();
#endif

View file

@ -100,7 +100,7 @@ INT cmd_cls (LPTSTR);
/* Prototypes for CMD.C */
INT ConvertULargeInteger(ULONGLONG num, LPTSTR des, UINT len, BOOL bPutSeperator);
INT ConvertULargeInteger(ULONGLONG num, LPTSTR des, UINT len, BOOL bPutSeparator);
HANDLE RunFile(DWORD, LPTSTR, LPTSTR, LPTSTR, INT);
INT ParseCommandLine(LPTSTR);
struct _PARSED_COMMAND;

View file

@ -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 <linux-guru@gcfl.net>)
* 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)

View file

@ -8,7 +8,7 @@
* started.
* New file to keep the internal command table. I plan on
* getting rid of the table real soon now and replacing it
* with a dynamic mechnism.
* with a dynamic mechanism.
*
* 27 Jul 1998 John P. Price
* added config.h include

View file

@ -39,8 +39,8 @@ enum
{
COPY_ASCII = 0x001, /* /A */
COPY_DECRYPT = 0x004, /* /D */
COPY_VERIFY = 0x008, /* /V : Dummy, Never will be Impleneted */
COPY_SHORTNAME = 0x010, /* /N : Dummy, Never will be Impleneted */
COPY_VERIFY = 0x008, /* /V : Dummy, Never will be Implemented */
COPY_SHORTNAME = 0x010, /* /N : Dummy, Never will be Implemented */
COPY_NO_PROMPT = 0x020, /* /Y */
COPY_PROMPT = 0x040, /* /-Y */
COPY_RESTART = 0x080, /* /Z */

View file

@ -354,12 +354,12 @@ INT CommandDelete (LPTSTR param)
LPTSTR *arg = NULL;
INT args;
INT i;
INT nEvalArgs = 0; /* nunber of evaluated arguments */
INT nEvalArgs = 0; /* number of evaluated arguments */
DWORD dwFlags = 0;
DWORD dwAttrFlags = 0;
DWORD dwFiles = 0;
LONG ch;
TCHAR szOrginalArg[MAX_PATH];
TCHAR szOriginalArg[MAX_PATH];
/*checks the first two chars of param to see if it is /?
this however allows the following command to not show help
@ -511,13 +511,13 @@ INT CommandDelete (LPTSTR param)
if (_tcslen(arg[i]) == 2 && arg[i][1] == _T(':'))
{
/* Check for C: D: ... */
GetRootPath(arg[i], szOrginalArg, MAX_PATH);
GetRootPath(arg[i], szOriginalArg, MAX_PATH);
}
else
{
_tcscpy(szOrginalArg,arg[i]);
_tcscpy(szOriginalArg,arg[i]);
}
dwFiles += ProcessDirectory(szOrginalArg, &dwFlags, dwAttrFlags);
dwFiles += ProcessDirectory(szOriginalArg, &dwFlags, dwAttrFlags);
}
freep (arg);

View file

@ -122,7 +122,7 @@
* 27-Feb-2005 (Konstantinos Paliouras <squarious@gmail.com>)
* Implemented all the switches that were missing, and made
* the ros dir very similar to windows dir. Major part of
* the code is rewritten. /p is removed, to be rewriten in
* the code is rewritten. /p is removed, to be rewritten in
* the main cmd code.
*
* 1-Jul-2004 (Brandon Turner <turnerb7@msu.edu>)
@ -165,7 +165,7 @@ enum EOrderBy
typedef struct _DirSwitchesFlags
{
BOOL bBareFormat; /* Bare Format */
BOOL bTSeperator; /* Thousands seperator */
BOOL bTSeparator; /* Thousands separator */
BOOL bWideList; /* Wide list format */
BOOL bWideListColSort; /* Wide list format but sorted by column */
BOOL bLowerCase; /* Uses lower case */
@ -215,7 +215,7 @@ typedef BOOL
(WINAPI *PGETFREEDISKSPACEEX)(LPCTSTR, PULARGE_INTEGER, PULARGE_INTEGER, PULARGE_INTEGER);
/* Globally save the # of dirs, files and bytes,
* probabaly later pass them to functions. Rob Lake */
* probably later pass them to functions. Rob Lake */
static ULONG recurse_dir_cnt;
static ULONG recurse_file_cnt;
static ULONGLONG recurse_bytes;
@ -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 (") */
@ -326,7 +326,7 @@ DirReadParam(LPTSTR Line, /* [IN] The line with the parameters & s
else if (cCurUChar == _T('B'))
lpFlags->bBareFormat = ! bNegative;
else if (cCurUChar == _T('C'))
lpFlags->bTSeperator = ! bNegative;
lpFlags->bTSeparator = ! bNegative;
else if (cCurUChar == _T('W'))
lpFlags->bWideList = ! bNegative;
else if (cCurUChar == _T('D'))
@ -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;
}
@ -528,7 +528,7 @@ DirReadParam(LPTSTR Line, /* [IN] The line with the parameters & s
}
/* We check if we calculated the negative value and realese the flag */
/* We check if we calculated the negative value and release the flag */
if ((cCurChar != _T('-')) && bPNegative)
bPNegative = FALSE;
}
@ -777,10 +777,10 @@ 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);
ConvertULargeInteger(u64Bytes, szBuffer, sizeof(szBuffer), lpFlags->bTSeparator);
LoadString(CMD_ModuleHandle, STRING_DIR_HELP5, szMsg, ARRAYSIZE(szMsg));
DirPrintf(lpFlags, szMsg, ulFiles, szBuffer);
}
@ -789,7 +789,7 @@ PrintSummary(LPTSTR szPath,
/* Print File Summary */
/* Condition to print summary is:
If we are not in bare format and if we have results! */
ConvertULargeInteger(u64Bytes, szBuffer, 20, lpFlags->bTSeperator);
ConvertULargeInteger(u64Bytes, szBuffer, 20, lpFlags->bTSeparator);
LoadString(CMD_ModuleHandle, STRING_DIR_HELP8, szMsg, ARRAYSIZE(szMsg));
DirPrintf(lpFlags, szMsg, ulFiles, szBuffer);
}
@ -798,7 +798,7 @@ PrintSummary(LPTSTR szPath,
if (!lpFlags->bRecursive || TotalSummary)
{
GetUserDiskFreeSpace(szPath, &uliFree);
ConvertULargeInteger(uliFree.QuadPart, szBuffer, sizeof(szBuffer), lpFlags->bTSeperator);
ConvertULargeInteger(uliFree.QuadPart, szBuffer, sizeof(szBuffer), lpFlags->bTSeparator);
LoadString(CMD_ModuleHandle, STRING_DIR_HELP6, szMsg, ARRAYSIZE(szMsg));
DirPrintf(lpFlags, szMsg, ulDirs, szBuffer);
}
@ -891,7 +891,7 @@ DirPrintNewList(PDIRFINDINFO ptrFiles[], /* [IN]Files' Info */
iSizeFormat = 14;
u64FileSize.HighPart = ptrFiles[i]->stFindInfo.nFileSizeHigh;
u64FileSize.LowPart = ptrFiles[i]->stFindInfo.nFileSizeLow;
ConvertULargeInteger(u64FileSize.QuadPart, szSize, 20, lpFlags->bTSeperator);
ConvertULargeInteger(u64FileSize.QuadPart, szSize, 20, lpFlags->bTSeparator);
}
/* Calculate short name */
@ -915,7 +915,7 @@ DirPrintNewList(PDIRFINDINFO ptrFiles[], /* [IN]Files' Info */
ptrCurStream = ptrFiles[i]->ptrHead;
while (ptrCurStream)
{
ConvertULargeInteger(ptrCurStream->stStreamInfo.StreamSize.QuadPart, szSize, 20, lpFlags->bTSeperator);
ConvertULargeInteger(ptrCurStream->stStreamInfo.StreamSize.QuadPart, szSize, 20, lpFlags->bTSeparator);
/* Print the line */
DirPrintf(lpFlags, _T("%10s %-6s %*s%s %s%s\n"),
@ -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;
}
@ -1062,7 +1062,7 @@ DirPrintOldList(PDIRFINDINFO ptrFiles[], /* [IN] Files' Info */
iSizeFormat = 17;
u64FileSize.HighPart = ptrFiles[i]->stFindInfo.nFileSizeHigh;
u64FileSize.LowPart = ptrFiles[i]->stFindInfo.nFileSizeLow;
ConvertULargeInteger(u64FileSize.QuadPart, szSize, 20, lpFlags->bTSeperator);
ConvertULargeInteger(u64FileSize.QuadPart, szSize, 20, lpFlags->bTSeparator);
}
/* Format date and time */
@ -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)
@ -1325,12 +1325,12 @@ DirList(LPTSTR szPath, /* [IN] The path that dir starts */
{
BOOL fPoint; /* If szPath is a file with extension fPoint will be True*/
HANDLE hSearch; /* The handle of the search */
HANDLE hRecSearch; /* The handle for searching recursivly */
HANDLE hRecSearch; /* The handle for searching recursively */
HANDLE hStreams; /* The handle for alternate streams */
WIN32_FIND_DATA wfdFileInfo; /* The info of file that found */
PDIRFINDINFO * ptrFileArray; /* An array of pointers with all the files */
PDIRFINDLISTNODE ptrStartNode; /* The pointer to the first node */
PDIRFINDLISTNODE ptrNextNode; /* A pointer used for relatives refernces */
PDIRFINDLISTNODE ptrNextNode; /* A pointer used for relatives references */
TCHAR szFullPath[MAX_PATH]; /* The full path that we are listing with trailing \ */
TCHAR szSubPath[MAX_PATH];
LPTSTR pszFilePart;
@ -1607,8 +1607,8 @@ DirList(LPTSTR szPath, /* [IN] The path that dir starts */
recurse_bytes += u64CountBytes;
/* Do the recursive job if requested
the recursive is be done on ALL(indepent of their attribs)
directoried of the current one.*/
the recursive is be done on ALL(independent of their attribs)
directories of the current one.*/
if (lpFlags->bRecursive)
{
/* The new search is involving any *.* file */
@ -1674,7 +1674,7 @@ CommandDir(LPTSTR rest)
stFlags.bPause = FALSE;
stFlags.bRecursive = FALSE;
stFlags.bShortName = FALSE;
stFlags.bTSeperator = TRUE;
stFlags.bTSeparator = TRUE;
stFlags.bUser = FALSE;
stFlags.bWideList = FALSE;
stFlags.bWideListColSort = FALSE;
@ -1736,7 +1736,7 @@ CommandDir(LPTSTR rest)
int i;
TRACE("Attributes mask/value %x/%x\n",stFlags.stAttribs.dwAttribMask,stFlags.stAttribs.dwAttribVal );
TRACE("(B) Bare format : %i\n", stFlags.bBareFormat );
TRACE("(C) Thousand : %i\n", stFlags.bTSeperator );
TRACE("(C) Thousand : %i\n", stFlags.bTSeparator );
TRACE("(W) Wide list : %i\n", stFlags.bWideList );
TRACE("(D) Wide list sort by column : %i\n", stFlags.bWideListColSort );
TRACE("(L) Lowercase : %i\n", stFlags.bLowerCase );

View file

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

View file

@ -1,11 +1,11 @@
Archive Contents
~~~~~~~~~~~~~~~~
files.txt This file list
history.txt History of revsions. Not to date. see svn.reactos.com for more info.
history.txt History of revisions. Not to date. see svn.reactos.com for more info.
license.txt GNU license - applies to all files named here
readme.txt General shell info
readme2.txt Techincal shell info
todo.txt Things that need to be implmented or fixed(including bugs)
readme2.txt Technical shell info
todo.txt Things that need to be implemented or fixed(including bugs)
alias.c Alias code
alias.h Alias header file

View file

@ -8,7 +8,7 @@
* Started.
*
* 16-Jul-1998 (John P Price)
* Seperated commands into individual files.
* Separated commands into individual files.
*
* 19-Jul-1998 (Hans B Pufal)
* Implementation of FOR.

View file

@ -7,7 +7,7 @@
* started.
*
* 16 Jul 1998 (John P Price)
* Seperated commands into individual files.
* Separated commands into individual files.
*
* 27-Jul-1998 (John P Price <linux-guru@gcfl.net>)
* added config.h include

View file

@ -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)
@ -261,7 +261,7 @@ o Added display of available internal commands and options at startup.
29 Jul 1998 (Rob Lake rlake@cs.mun.ca)
~~~~~~~~~~~~~~~~~~~~~~
o changed date.c and time.c, and wrote datefunc.c and timefunc.c to
impliment _dos_getdate, _dos_setdate, _dos_gettime and _dos_settime.
implement _dos_getdate, _dos_setdate, _dos_gettime and _dos_settime.
This is the first of many steps to make the shell compatible under
Pacific C.
@ -300,7 +300,7 @@ o call.c: added lines to initialize for pointers. This fixed the
07-Aug-1998 (John P Price <linux-guru@gcfl.net>)
~~~~~~~~~~~~~~~~~~~~~~
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)

View file

@ -8,7 +8,7 @@
* started.
*
* 16 Jul 1998 (John P Price)
* Seperated commands into individual files.
* Separated commands into individual files.
*
* 27-Jul-1998 (John P Price <linux-guru@gcfl.net>)
* added config.h include

View file

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

Some files were not shown because too many files have changed in this diff Show more