summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2022-01-19 21:37:39 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-01-19 21:37:39 +0100
commit2b72d2c3d4fc8c50e48d2e8eeb5d0b1cd813dfa7 (patch)
tree8477b059f4453c3561cd3e52cd98518016e50904
parente817ed9d48ac974181c1a45ad193c7f924503c81 (diff)
fix inconsistencies in comments
-rw-r--r--sfeed_curses.c2
-rw-r--r--util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_curses.c b/sfeed_curses.c
index c761abc..08c9c5a 100644
--- a/sfeed_curses.c
+++ b/sfeed_curses.c
@@ -300,7 +300,7 @@ colw(const char *s)
return col;
}
-/* Format `len' columns of characters. If string is shorter pad the rest
+/* Format `len` columns of characters. If string is shorter pad the rest
with characters `pad`. */
int
utf8pad(char *buf, size_t bufsiz, const char *s, size_t len, int pad)
diff --git a/util.c b/util.c
index d6cdbf9..797e599 100644
--- a/util.c
+++ b/util.c
@@ -323,7 +323,7 @@ xmlencode(const char *s, FILE *fp)
}
}
-/* print `len' columns of characters. If string is shorter pad the rest with
+/* print `len` columns of characters. If string is shorter pad the rest with
* characters `pad`. */
void
printutf8pad(FILE *fp, const char *s, size_t len, int pad)