Skip to content

Commit 84bfbd4

Browse files
nschonniColin Robertson
authored andcommitted
Double word typos (MicrosoftDocs#377)
* typo: Double word "of" * typo: Double word "the" * typo: Double word "when" * typo: Double word "for" * typo: Double word "in" * typo: Double word "where" * typo: Double word "use" * typo: Double word "to" * typo: Double word "more" * typo: Double word "that" * typo: Double word "this" * typo: Double word "and" * typo: Double word "on" * typo: Double word "was" * typo: Double word "see" * typo: Double word "with" * typo: Double word "is" * typo: Double word "make" * typo: Double word "an" * typo: Double word "one" * typo: Double word "identically" * typo: Double word "not" * typo: Double word "or" * Update atomic-functions.md Correct parameter name and weird formatting in atomic_compare_exchange_strong_explicit Remarks.
1 parent b568631 commit 84bfbd4

File tree

54 files changed

+117
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+117
-119
lines changed

docs/atl-mfc-shared/reference/csimplestringt-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ PXSTR GetBufferSetLength(int nLength);
426426
427427
The buffer memory is automatically freed when the `CSimpleStringT` object is destroyed.
428428
429-
If you keep track of the string length yourself, do not not append the terminating null character. You must specify the final string length when you release the buffer by using `ReleaseBuffer`. If you do append a terminating null character when you call `ReleaseBuffer`, pass -1 (the default) for the length to `ReleaseBuffer`, and `ReleaseBuffer` will perform a `strlen` on the buffer to determine its length.
429+
If you keep track of the string length yourself, do not append the terminating null character. You must specify the final string length when you release the buffer by using `ReleaseBuffer`. If you do append a terminating null character when you call `ReleaseBuffer`, pass -1 (the default) for the length to `ReleaseBuffer`, and `ReleaseBuffer` will perform a `strlen` on the buffer to determine its length.
430430
431431
For more information about reference counting, see the following articles:
432432

docs/atl/reference/cwindow-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ DWORD GetHotKey() const throw();
818818
```
819819

820820
### Return Value
821-
The virtual key code and modifiers for the hot key associated with the window. For a list of possible modifiers, see [WM_GETHOTKEY](http://msdn.microsoft.com/library/windows/desktop/ms646278) in the Windows SDK. For a list of of standard virtual key codes, see Winuser.h.
821+
The virtual key code and modifiers for the hot key associated with the window. For a list of possible modifiers, see [WM_GETHOTKEY](http://msdn.microsoft.com/library/windows/desktop/ms646278) in the Windows SDK. For a list of standard virtual key codes, see Winuser.h.
822822

823823
## <a name="geticon"></a> CWindow::GetIcon
824824
Retrieves the handle to the window's large or small icon.
@@ -1933,7 +1933,7 @@ int SetHotKey(WORD wVirtualKeyCode, WORD wModifiers) throw();
19331933

19341934
### Parameters
19351935
*wVirtualKeyCode*
1936-
[in] The virtual key code of the hot key. For a list of of standard virtual key codes, see Winuser.h.
1936+
[in] The virtual key code of the hot key. For a list of standard virtual key codes, see Winuser.h.
19371937

19381938
*wModifiers*
19391939
[in] The modifiers of the hot key. For a list of possible values, see WM_SETHOTKEY in the Windows SDK.

docs/build/common-visual-cpp-arm-migration-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ On the ARM architecture, parameters from the variable arguments list that are pa
6464
printf("%d\n", 1LL);
6565
```
6666
67-
In this case, the bug can be fixed by making sure that the correct format specification is used so that that the alignment of the argument is considered. This code is correct:
67+
In this case, the bug can be fixed by making sure that the correct format specification is used so that the alignment of the argument is considered. This code is correct:
6868
6969
```C
7070
// CORRECT: use %I64d for 64-bit integers

docs/build/reference/kernel-create-kernel-mode-binary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Creates a binary that can be executed in the Windows kernel.
3030
## Remarks
3131
There is no `#pragma` equivalent to control this option.
3232

33-
Specifying the **/kernel** option tells the compiler and linker to arbitrate which language features are permissible in kernel mode and to make sure that that you have sufficient expressive power to avoid runtime instability that is unique to kernel mode C++. This is accomplished by prohibiting the use of C++ language features that are disruptive in kernel mode and by providing warnings for C++ language features that are potentially disruptive but cannot be disabled.
33+
Specifying the **/kernel** option tells the compiler and linker to arbitrate which language features are permissible in kernel mode and to make sure that you have sufficient expressive power to avoid runtime instability that is unique to kernel mode C++. This is accomplished by prohibiting the use of C++ language features that are disruptive in kernel mode and by providing warnings for C++ language features that are potentially disruptive but cannot be disabled.
3434

3535
The **/kernel** option applies to both the compiler and linker phases of a build and is set at the project level. Pass the **/kernel** switch to indicate to the compiler that the resulting binary, after linking, should be loaded into the Windows kernel. The compiler will narrow the spectrum of C++ language features to a subset that is compatible with the kernel.
3636

docs/build/reference/midl-specify-midl-command-line-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.workload: ["cplusplus"]
2121
where:
2222

2323
`file`
24-
The name of the file that that contains [MIDL command line options](http://msdn.microsoft.com/library/windows/desktop/aa366839).
24+
The name of the file that contains [MIDL command line options](http://msdn.microsoft.com/library/windows/desktop/aa366839).
2525

2626
## Remarks
2727
All options for the conversion of an IDL file to a TLB file must be given in `file`; MIDL command-line options cannot be specified on the linker's command line. If /MIDL is not specified, the MIDL compiler will be invoked with only the IDL file name and no other options.

docs/build/vscpp-step-0-installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ For details on the disk space and operating system requirements, see [Visual Stu
5252

5353
The first time you run Visual Studio, you are asked to sign in with a Microsoft Account. If you don't have one, you can create one for free. You must also choose a theme. Don't worry, you can change it later if you want to.
5454

55-
It may take Visual Studio several minutes to to get ready for use the first time you run it. Here's what it looks like in a quick time-lapse:
55+
It may take Visual Studio several minutes to get ready for use the first time you run it. Here's what it looks like in a quick time-lapse:
5656

5757
![Visual Studio 2017 sign in](../build/media/vscpp-quickstart-first-run.gif "Visual Studio 2017 sign in")
5858

docs/c-runtime-library/reference/beginthread-beginthreadex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ void CheckKey( void * ignored )
187187
repeat = 0; // _endthread implied
188188
}
189189

190-
// Bounce - Thread to create and and control a colored letter that moves
190+
// Bounce - Thread to create and control a colored letter that moves
191191
// around on the screen.
192192
//
193193
// Params: parg - the value to create the character from

docs/c-runtime-library/reference/fscanf-fscanf-l-fwscanf-fwscanf-l.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ These functions validate their parameters. If *stream* or *format* is a null poi
7070

7171
The **fscanf** function reads data from the current position of *stream* into the locations given by *argument* (if any). Each *argument* must be a pointer to a variable of a type that corresponds to a type specifier in *format*. *format* controls the interpretation of the input fields and has the same form and function as the *format* argument for **scanf**; see [scanf](scanf-scanf-l-wscanf-wscanf-l.md) for a description of *format*.
7272

73-
**fwscanf** is a wide-character version of **fscanf**; the format argument to **fwscanf** is a wide-character string. These functions behave identically identically if the stream is opened in ANSI mode. **fscanf** doesn't currently support input from a UNICODE stream.
73+
**fwscanf** is a wide-character version of **fscanf**; the format argument to **fwscanf** is a wide-character string. These functions behave identically if the stream is opened in ANSI mode. **fscanf** doesn't currently support input from a UNICODE stream.
7474

7575
The versions of these functions with the **_l** suffix are identical except that they use the locale parameter passed in instead of the current thread locale.
7676

docs/c-runtime-library/reference/vfscanf-vfwscanf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ These functions validate their parameters. If *stream* or *format* is a null poi
5454

5555
The **vfscanf** function reads data from the current position of *stream* into the locations that are given by the *arglist* argument list. Each argument in the list must be a pointer to a variable of a type that corresponds to a type specifier in *format*. *format* controls the interpretation of the input fields and has the same form and function as the *format* argument for **scanf**; see [scanf](scanf-scanf-l-wscanf-wscanf-l.md) for a description of *format*.
5656

57-
**vfwscanf** is a wide-character version of **vfscanf**; the format argument to **vfwscanf** is a wide-character string. These functions behave identically identically if the stream is opened in ANSI mode. **vfscanf** doesn't support input from a UNICODE stream.
57+
**vfwscanf** is a wide-character version of **vfscanf**; the format argument to **vfwscanf** is a wide-character string. These functions behave identically if the stream is opened in ANSI mode. **vfscanf** doesn't support input from a UNICODE stream.
5858

5959
### Generic-Text Routine Mappings
6060

docs/cpp-conformance-improvements-2017.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,11 @@ void bar(A<0> *p)
325325

326326
### C++17 Repairing elementary string conversions
327327

328-
[P0682R1](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0682r1.html) Move the new elementary string conversion functions from P0067R5 into a new header \<charconv> and make other improvements, including changing error handling to use use `std::errc` instead of `std::error_code`.
328+
[P0682R1](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0682r1.html) Move the new elementary string conversion functions from P0067R5 into a new header \<charconv> and make other improvements, including changing error handling to use `std::errc` instead of `std::error_code`.
329329

330330
### C++17 constexpr for char_traits (partial)
331331

332-
[P0426R1](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0426r1.html) Changes to `std::traits_type` member functions `length`, `compare`, and `find` in order to make make `std::string_view` usable in constant expressions. (In Visual Studio 2017 version 15.6, supported for Clang/LLVM only. In version 15.7 Preview 2, support is nearly complete for ClXX as well.)
332+
[P0426R1](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0426r1.html) Changes to `std::traits_type` member functions `length`, `compare`, and `find` in order to make `std::string_view` usable in constant expressions. (In Visual Studio 2017 version 15.6, supported for Clang/LLVM only. In version 15.7 Preview 2, support is nearly complete for ClXX as well.)
333333

334334
## Bug fixes in Visual Studio versions 15.0, [15.3](#update_153), [15.5](#update_155), [15.7](#update_157), and [15.8](#update_158)
335335

0 commit comments

Comments
 (0)