commit 7abddbd752810a5370243f5fe493efa0d654cc28
parent 51c9f7270c44420688d4bb0a75c59c9df569f9d6
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 26 Jan 2023 14:54:34 +0100
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 == '{') {