Skip to contentSkip to conversation

together/refcnt: Use \qco{} for code quoting

PATCH Applied SeongJae Park 2 participants 2 messages Apr 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 together/refcnt: Use \qco{} for code quoting

\tco{} is for code in tabular environment, while \qco{} is for non-breaking code with quotation marks. However, commit 0e96cb8283ca ("together/refcnt: Use \tco{} for code quoting") has mistakenly used \tco{} for quoted code, by mistake. Fix it by replacing the \tco{} with \qco{}.

Fixes 0e96cb8283ca ("together/refcnt: Use \tco{} for code quoting")
---
 together/refcnt.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
together/refcnt.tex +4 -4
index 4abe1c60..11596f4e 100644
@@ -467,15 +467,15 @@ as shown below.
 
 \QuickQuiz{
 	Why can't the check for a zero reference count be
-	made in a simple \tco{if} statement with an atomic
-	increment in its \tco{then} clause?
+	made in a simple \qco{if} statement with an atomic
+	increment in its \qco{then} clause?
 }\QuickQuizAnswer{
-	Suppose that the \tco{if} condition completed, finding
+	Suppose that the \qco{if} condition completed, finding
 	the reference counter value equal to one.
 	Suppose that a release operation executes, decrementing
 	the reference counter to zero and therefore starting
 	cleanup operations.
-	But now the \tco{then} clause can increment the counter
+	But now the \qco{then} clause can increment the counter
 	back to a value of one, allowing the object to be
 	used after it has been cleaned up.
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 8 lines · SeongJae Park

\tco{} is for code in tabular environment, while \qco{} is for non-breaking code with quotation marks. However, commit 0e96cb8283ca ("together/refcnt: Use \tco{} for code quoting") has mistakenly used \tco{} for quoted code, by mistake. Fix it by replacing the \tco{} with \qco{}.

Fixes 0e96cb8283ca ("together/refcnt: Use \tco{} for code quoting")

Queued and pushed, thank you!

Thanx, Paul

Quoted 31 lines
---
 together/refcnt.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
together/refcnt.tex +4 -4
index 4abe1c60..11596f4e 100644
@@ -467,15 +467,15 @@ as shown below.
 
 \QuickQuiz{
 	Why can't the check for a zero reference count be
-	made in a simple \tco{if} statement with an atomic
-	increment in its \tco{then} clause?
+	made in a simple \qco{if} statement with an atomic
+	increment in its \qco{then} clause?
 }\QuickQuizAnswer{
-	Suppose that the \tco{if} condition completed, finding
+	Suppose that the \qco{if} condition completed, finding
 	the reference counter value equal to one.
 	Suppose that a release operation executes, decrementing
 	the reference counter to zero and therefore starting
 	cleanup operations.
-	But now the \tco{then} clause can increment the counter
+	But now the \qco{then} clause can increment the counter
 	back to a value of one, allowing the object to be
 	used after it has been cleaned up.
 
Signature · 1 line
2.17.1