Skip to content

Commit 3b1c846

Browse files
authored
Update how-to-convert-between-various-string-types.md
1 parent f65ed95 commit 3b1c846

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/text/how-to-convert-between-various-string-types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ int main()
143143
wcout << orig << _T(" (wchar_t *)") << endl;
144144

145145
// Convert the wchar_t string to a char* string. Record
146-
//.the length of the original string and add 1 to it to
147-
//.account for the terminating null character.
146+
// the length of the original string and add 1 to it to
147+
// origsize for the terminating null character.
148148
size_t origsize = wcslen(orig) + 1;
149149
size_t convertedChars = 0;
150150

@@ -807,4 +807,4 @@ Hello, World! (basic_string)
807807
[wcstombs_s, _wcstombs_s_l](../c-runtime-library/reference/wcstombs-s-wcstombs-s-l.md)<br/>
808808
[strcpy_s, wcscpy_s, _mbscpy_s](../c-runtime-library/reference/strcpy-s-wcscpy-s-mbscpy-s.md)<br/>
809809
[strcat_s, wcscat_s, _mbscat_s](../c-runtime-library/reference/strcat-s-wcscat-s-mbscat-s.md)<br/>
810-
[pin_ptr (C++/CLI)](../windows/pin-ptr-cpp-cli.md)
810+
[pin_ptr (C++/CLI)](../windows/pin-ptr-cpp-cli.md)

0 commit comments

Comments
 (0)