xC: fix a harmless copy-paste error

This commit is contained in:
Přemysl Eric Janouch 2023-06-13 08:59:29 +02:00
parent 3f9a365d36
commit 50f70f93bb
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 1 deletions

2
xC.c
View File

@ -15470,7 +15470,7 @@ client_message_buffer_name (const struct relay_command_message *m)
switch (m->data.command) switch (m->data.command)
{ {
case RELAY_COMMAND_BUFFER_COMPLETE: case RELAY_COMMAND_BUFFER_COMPLETE:
return m->data.buffer_input.buffer_name.str; return m->data.buffer_complete.buffer_name.str;
case RELAY_COMMAND_BUFFER_ACTIVATE: case RELAY_COMMAND_BUFFER_ACTIVATE:
return m->data.buffer_activate.buffer_name.str; return m->data.buffer_activate.buffer_name.str;
case RELAY_COMMAND_BUFFER_INPUT: case RELAY_COMMAND_BUFFER_INPUT: