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.
Этот коммит содержится в:
родитель
51c9f7270c
Коммит
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 == '{') {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user