mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 22:29:42 +03:00
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:
parent
51c9f7270c
commit
7abddbd752
@ -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 == '{') {
|
||||
|
Loading…
Reference in New Issue
Block a user