Skip to content

Commit c31622d

Browse files
authored
Update assert-asserte-assert-expr-macros.md (#4496)
1 parent 48fe3fe commit c31622d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/c-runtime-library/reference/assert-asserte-assert-expr-macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Because the `_ASSERTE` macro specifies the failed expression, and `_ASSERT_EXPR`
4242
Unless you specify otherwise with the [`_CrtSetReportMode`](crtsetreportmode.md) and [`_CrtSetReportFile`](crtsetreportfile.md) functions, messages appear in a pop-up dialog box equivalent to setting:
4343
4444
```C
45-
_CrtSetReportMode(CRT_ASSERT, _CRTDBG_MODE_WNDW);
45+
_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_WNDW);
4646
```
4747

4848
`_CrtDbgReportW` generates the debug report and determines its destination or destinations, based on the current report mode or modes and file defined for the `_CRT_ASSERT` report type. By default, assertion failures and errors are directed to a debug message window. The [`_CrtSetReportMode`](crtsetreportmode.md) and [`_CrtSetReportFile`](crtsetreportfile.md) functions are used to define the destinations for each report type.

0 commit comments

Comments
 (0)