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.
This commit is contained in:
Benno Schulenberg 2023-01-26 14:54:34 +01:00
parent 51c9f7270c
commit 7abddbd752

View File

@ -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 == '{') {