From 2fb3d98e5a0f1986c5e25980bcd329ce763fc3cd Mon Sep 17 00:00:00 2001 From: Sylvain PILLOT Date: Sat, 21 Jan 2023 08:06:34 +0100 Subject: [PATCH] Corrected on small typo --- azur/src/gint/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azur/src/gint/render.c b/azur/src/gint/render.c index 1271ed0..4926f52 100644 --- a/azur/src/gint/render.c +++ b/azur/src/gint/render.c @@ -244,7 +244,7 @@ bool azrp_queue_command(void *command, size_t size, int fragment, int count) { if(commands_count + count > AZRP_MAX_COMMANDS) return false; - if(commands_length + size >= sizeof command_data) + if(commands_length + size >= sizeof commands_data) return false; uint8_t *dst = commands_data + commands_length;