diff --git a/reactos/base/shell/cmd/copy.c b/reactos/base/shell/cmd/copy.c index c558a4f673f..95fdb78007d 100644 --- a/reactos/base/shell/cmd/copy.c +++ b/reactos/base/shell/cmd/copy.c @@ -785,7 +785,7 @@ INT cmd_copy(LPTSTR param) _tcscpy(tmpDestPath, szDestPath); _tcscat(tmpDestPath, _T("\\")); - /* Can't put a file into a folder that isnt there */ + /* Can't put a file into a folder that isn't there */ if (_tcscmp(tmpDestPath, _T("\\\\.\\")) && !IsExistingDirectory(tmpDestPath)) { diff --git a/reactos/base/shell/cmd/del.c b/reactos/base/shell/cmd/del.c index f8409c3ae6a..046469122fc 100644 --- a/reactos/base/shell/cmd/del.c +++ b/reactos/base/shell/cmd/del.c @@ -107,7 +107,7 @@ RemoveFile (LPTSTR lpFileName, DWORD dwFlags, WIN32_FIND_DATA* f) { /*setting file to normal, not saving old attrs first because the file is going to be deleted anyways - so the only thing that matters is that it isnt + so the only thing that matters is that it isn't read only.*/ SetFileAttributes(lpFileName,FILE_ATTRIBUTE_NORMAL); } @@ -513,7 +513,7 @@ INT CommandDelete (LPTSTR param) for (i = 0; i < args && !(dwFiles & 0x80000000); i++) { - /*this checks to see if it isnt a flag, if it isnt, we assume it is a file name*/ + /*this checks to see if it is a flag; if it isn't, we assume it is a file name*/ if((*arg[i] == _T('/')) || (*arg[i] == _T('-'))) continue; diff --git a/reactos/base/shell/cmd/readme2.txt b/reactos/base/shell/cmd/readme2.txt index e4d365b9a26..bf793760400 100644 --- a/reactos/base/shell/cmd/readme2.txt +++ b/reactos/base/shell/cmd/readme2.txt @@ -4,7 +4,7 @@ First it comes into _main in cmd.c(1811). The command line params are taking in This can cause a problem on older machines and that is why we have our own custom _CommandLineToArgvW to help this along. We pull in the launch directory as the initial dir and set that in _tchdir. We make a handle to the default console out using CreateFile. -Then we call Initialize(). Here we need to load ntdll.dll if it isnt loaded(windows 9x machines). +Then we call Initialize(). Here we need to load ntdll.dll if it isn't loaded (windows 9x machines). We also setup some global vars like default io handles and nErrorLevel and set %prompt% to $P$G. This is where all command lines switches given to cmd on startup are done. @@ -32,7 +32,7 @@ It calls a function called SearchForExecuteable() to find the full path name and Some useful functions that are used a lot: -split() - splits a string into an array of string on spaces that arent inside quotes. which you need to call freep() on later t clean up. +split() - splits a string into an array of string on spaces that aren't inside quotes. which you need to call freep() on later t clean up. //Split itīs used to take the Arguments from Command Line,itīs the best option for almost all the cases. //If the Command has special needs as Dir, itīs better to make a Parser INSIDE that Command(as DIR has) //Dont get mad(as i did): Split() can be find in Misc.c file.Really easy to follow. diff --git a/reactos/base/shell/cmd/ren.c b/reactos/base/shell/cmd/ren.c index 204e45fc07b..89b1cc0aec2 100644 --- a/reactos/base/shell/cmd/ren.c +++ b/reactos/base/shell/cmd/ren.c @@ -223,7 +223,7 @@ INT cmd_rename (LPTSTR param) } - if (!_tcschr(srcPattern, _T('\\'))) //If srcPattern isnt a Path but a name: + if (!_tcschr(srcPattern, _T('\\'))) //If srcPattern isn't a Path but a name: { srcFILE=srcPattern; if(_tcschr(dstPattern, _T('\\'))) diff --git a/reactos/base/shell/cmd/ren.txt b/reactos/base/shell/cmd/ren.txt index 55f20f45588..3cbcec7e98a 100644 --- a/reactos/base/shell/cmd/ren.txt +++ b/reactos/base/shell/cmd/ren.txt @@ -28,7 +28,7 @@ So it changes the name of hello.txt in the current directory. 3)Syntax errors: -Way #1 with different Subdirectories path: ren c:\ie\hello.txt c:\hi\hi.txt, this is not possible.Since ren doesnt move files,just rename them. --Way #2 semi path in destiny: ren hello.txt c:\ie\hi.txt. This feature isnt available. +-Way #2 semi path in destiny: ren hello.txt c:\ie\hi.txt. This feature isn't available. ************************************************** diff --git a/reactos/base/shell/cmd/todo.txt b/reactos/base/shell/cmd/todo.txt index f9571d3e3a6..a67a2b55a4c 100644 --- a/reactos/base/shell/cmd/todo.txt +++ b/reactos/base/shell/cmd/todo.txt @@ -7,7 +7,7 @@ This is pretty straight forward. When doing this make sure to take into account Not sure what is wrong with it, put probably more then just one thing blocking this. For sure pipes break when it is compiled as unicode. *Move.c code clean up -It works, but it needs to be cleaned up, the code is long and overly complex for what it needs to do. Also, we can remove the hack to cover for MoveFileEx bug as it isnt a bug anymore. +It works, but it needs to be cleaned up, the code is long and overly complex for what it needs to do. Also, we can remove the hack to cover for MoveFileEx bug as it isn't a bug anymore. *If rewrite It works decent but looks _awful_. Very hard to maintain and/or understand what the hell is going on. diff --git a/reactos/drivers/ksfilter/ks/api.c b/reactos/drivers/ksfilter/ks/api.c index c391ccd54b9..5b50fcf20a3 100644 --- a/reactos/drivers/ksfilter/ks/api.c +++ b/reactos/drivers/ksfilter/ks/api.c @@ -2060,7 +2060,7 @@ KspCopyMethodSets( /* set counter */ Count = AutomationTableA->MethodSetsCount; - /* now copy entries which arent available in the dominant table */ + /* now copy entries which aren't available in the dominant table */ for(Index = 0; Index < AutomationTableB->MethodSetsCount; Index++) { /* set found to false */ @@ -2200,7 +2200,7 @@ KspCopyPropertySets( /* set counter */ Count = AutomationTableA->PropertySetsCount; - /* now copy entries which arent available in the dominant table */ + /* now copy entries which aren't available in the dominant table */ for(Index = 0; Index < AutomationTableB->PropertySetsCount; Index++) { /* set found to false */ @@ -2265,7 +2265,7 @@ KspCopyEventSets( /* set counter */ Count = AutomationTableA->EventSetsCount; - /* now copy entries which arent available in the dominant table */ + /* now copy entries which aren't available in the dominant table */ for(Index = 0; Index < AutomationTableB->EventSetsCount; Index++) { /* set found to false */