Skip to content

Commit 0d56397

Browse files
authored
Merge pull request MicrosoftDocs#635 from drvoss/patch-14
Update using-tchar-h-data-types-with-mbcs-code.md
2 parents b5b304c + 3011948 commit 0d56397

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/text/using-tchar-h-data-types-with-mbcs-code.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ When the manifest constant `_MBCS` is defined, a given generic-text routine maps
1515

1616
Following are three solutions for preventing this type conflict (and the C compiler warnings or C++ compiler errors that would result):
1717

18-
- Use the default behavior. Tchar.h provides generic-text routine prototypes for routines in the run-time libraries, as in the following example.
18+
- Use the default behavior. tchar.h provides generic-text routine prototypes for routines in the run-time libraries, as in the following example.
1919

2020
```cpp
2121
char * _tcsrev(char *);
@@ -29,7 +29,7 @@ Following are three solutions for preventing this type conflict (and the C compi
2929
#define _USE_INLINING
3030
```
3131

32-
This method causes an inline function thunk, provided in Tchar.h, to map the generic-text routine directly to the appropriate MBCS routine. The following code excerpt from Tchar.h provides an example of how this is done.
32+
This method causes an inline function thunk, provided in tchar.h, to map the generic-text routine directly to the appropriate MBCS routine. The following code excerpt from tchar.h provides an example of how this is done.
3333

3434
```cpp
3535
__inline char *_tcsrev(char *_s1)
@@ -44,7 +44,7 @@ Following are three solutions for preventing this type conflict (and the C compi
4444
#define _MB_MAP_DIRECT
4545
```
4646

47-
This approach provides a fast alternative if you do not want to use the default behavior or cannot use inlining. It causes the generic-text routine to be mapped by a macro directly to the MBCS version of the routine, as in the following example from Tchar.h.
47+
This approach provides a fast alternative if you do not want to use the default behavior or cannot use inlining. It causes the generic-text routine to be mapped by a macro directly to the MBCS version of the routine, as in the following example from tchar.h.
4848

4949
```cpp
5050
#define _tcschr _mbschr
@@ -54,4 +54,4 @@ Following are three solutions for preventing this type conflict (and the C compi
5454

5555
## See Also
5656

57-
[Generic-Text Mappings in Tchar.h](../text/generic-text-mappings-in-tchar-h.md)
57+
[Generic-Text Mappings in tchar.h](../text/generic-text-mappings-in-tchar-h.md)

0 commit comments

Comments
 (0)