Skip to content

Commit

Permalink
fix a typo in rectangle command error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
laamaa committed Jun 21, 2024
1 parent 4e40d56 commit b45bb6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ int process_command(uint8_t *data, uint32_t size) {
if (size < draw_rectangle_command_min_datalength ||
size > draw_rectangle_command_max_datalength) {
SDL_LogError(SDL_LOG_CATEGORY_ERROR,
"Invalid draw rectangle packet: expected between %d and %d, got %d",
"Invalid draw rectangle packet: expected length between %d and %d, got %d",
draw_rectangle_command_min_datalength, draw_rectangle_command_max_datalength,
size);
dump_packet(size, recv_buf);
Expand Down

0 comments on commit b45bb6f

Please sign in to comment.