aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2013-08-26 02:30:43 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2013-08-26 02:30:43 +0100
commitd58faf55b415054aba307a0715af5fd2b2668cd8 (patch)
tree1757ec35082b880821a70b4236d6f4e24139f409 /termkey.c
parenta86f23588b4de5d6ed96a2cf63e2234c42bbc592 (diff)
downloadtermo-d58faf55b415054aba307a0715af5fd2b2668cd8.tar.gz
termo-d58faf55b415054aba307a0715af5fd2b2668cd8.tar.xz
termo-d58faf55b415054aba307a0715af5fd2b2668cd8.zip
Fix comment about 'n' in strpncmp_camel()
Diffstat (limited to 'termkey.c')
-rw-r--r--termkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/termkey.c b/termkey.c
index 7e39050..889dfad 100644
--- a/termkey.c
+++ b/termkey.c
@@ -217,7 +217,7 @@ static int snprint_cameltospaces(char *str, size_t size, const char *src)
/* Similar to strcmp(str, strcamel, n) except that:
* it compares CamelCase in strcamel with space separated values in str;
* it takes char**s and updates them
- * n counts bytes of str, not strcamel
+ * n counts bytes of strcamel, not str
*/
static int strpncmp_camel(const char **strp, const char **strcamelp, size_t n)
{