Skip to content

Commit a04eb53

Browse files
Documentation bug fix.
Encoding the "<" character
1 parent d5ed332 commit a04eb53

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
/.vs/ql/v15/Browse.VC.db
1414
/.vs/ProjectSettings.json
1515

16+
/.vs/ql_6293a/v15/Browse.VC.opendb
17+
/.vs/ql_6293a/v15/Browse.VC.db
18+
/.vs/ql_6293a/v15/.suo

cpp/ql/src/Likely Bugs/Likely Typos/inconsistentLoopDirection.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</recommendation>
1414

1515
<example>
16-
<p>In the following example, the initialization statement (<code>i = 0</code>) and the condition expression (<code>i < 100</code>) indicate that the intended iteration expression should have been incrementing, but instead a postfix decrement operator is used (<code>i--</code>).</p>
16+
<p>In the following example, the initialization statement (<code>i = 0</code>) and the condition expression (<code>i &lt; 100</code>) indicate that the intended iteration expression should have been incrementing, but instead a postfix decrement operator is used (<code>i--</code>).</p>
1717
<sample src="inconsistentLoopDirection.c" />
1818

1919
<p>To fix this issue, change the iteration expression to match the direction of the initialization statement and the condition expression: <code>i++</code>.</p>

0 commit comments

Comments
 (0)