groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/30: src/libs/libgroff/string.cpp: Fix typo in comment.


From: G. Branden Robinson
Subject: [groff] 02/30: src/libs/libgroff/string.cpp: Fix typo in comment.
Date: Thu, 10 Oct 2024 20:18:09 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit ed1bf0fa572402687c3e0cad17dfc82dbfbe90b0
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Oct 8 01:55:52 2024 -0500

    src/libs/libgroff/string.cpp: Fix typo in comment.
---
 src/libs/libgroff/string.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libs/libgroff/string.cpp b/src/libs/libgroff/string.cpp
index c7462109c..b48761703 100644
--- a/src/libs/libgroff/string.cpp
+++ b/src/libs/libgroff/string.cpp
@@ -284,7 +284,7 @@ int string::search(const char c) const
   return (p != 0 /* nullptr */) ? (p - ptr) : -1;
 }
 
-// Return index of substing `c` in string, -1 if not found.
+// Return index of substring `c` in string, -1 if not found.
 int string::find(const char *c) const
 {
   const char *p = ptr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]