From 7abddbd752810a5370243f5fe493efa0d654cc28 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 26 Jan 2023 14:54:34 +0100 Subject: [PATCH] tweaks: slightly improve a comment, to be more accurate A string bind can only contain bytes (chars), not keycodes (integers, in nano upto 0x4FF). So, apart from an error code or a placeholder command code, get_code_from_plantation() can only return a byte. --- src/winio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index 1f53d2ca..fee2a84e 100644 --- a/src/winio.c +++ b/src/winio.c @@ -350,7 +350,7 @@ void implant(const char *string) } /* Continue processing an expansion string. Returns either an error code, - * a plain keycode, or a placeholder for a command shortcut. */ + * a plain character byte, or a placeholder for a command shortcut. */ int get_code_from_plantation(void) { if (*plants_pointer == '{') {