gbranden pushed a commit to branch master
in repository groff.

commit 2232e6faab8ff75d065e17ecd65b21ad1386d53a
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Mar 26 16:47:43 2025 -0500

    [libgroff]: Update/correct code comments.
---
 src/libs/libgroff/json_encode.cpp | 3 +--
 src/libs/libgroff/string.cpp      | 2 +-
 src/libs/libgroff/symbol.cpp      | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/libs/libgroff/json_encode.cpp 
b/src/libs/libgroff/json_encode.cpp
index fa3ab6663..46905ecd4 100644
--- a/src/libs/libgroff/json_encode.cpp
+++ b/src/libs/libgroff/json_encode.cpp
@@ -24,8 +24,7 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>. */
 #include "cset.h" // csprint()
 #include "json-encode.h" // json_char
 
-// Return pointer to mutable buffer representing character `c` as a JSON
-// string (without bracketing `"`s).
+// Return JSON representation of character `c` without bracketing `"`s.
 json_char json_encode_char(unsigned char c)
 {
   json_char jc;
diff --git a/src/libs/libgroff/string.cpp b/src/libs/libgroff/string.cpp
index 05f2c442c..0e5596c54 100644
--- a/src/libs/libgroff/string.cpp
+++ b/src/libs/libgroff/string.cpp
@@ -27,7 +27,7 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>. */
 
 #include "cset.h" // csprint()
 #include "lib.h"
-#include "json-encode.h" // json_encode_char()
+#include "json-encode.h" // json_char, json_encode_char()
 
 #include "stringclass.h"
 
diff --git a/src/libs/libgroff/symbol.cpp b/src/libs/libgroff/symbol.cpp
index e6e1e9f29..f11556113 100644
--- a/src/libs/libgroff/symbol.cpp
+++ b/src/libs/libgroff/symbol.cpp
@@ -25,7 +25,7 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>. */
 #include <stdlib.h> // calloc()
 
 #include "cset.h" // csprint()
-#include "json-encode.h" // json_encode_char()
+#include "json-encode.h" // json_char, json_encode_char()
 #include "lib.h"
 
 #include "errarg.h"

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to