housekeeping

This commit is contained in:
Alessandro Mauri 2023-03-06 19:01:15 +01:00
parent 988c36a50a
commit 0a18bfc951
No known key found for this signature in database
GPG key ID: 2B7BF9531FF03BE8
8 changed files with 82 additions and 31 deletions

4
ugui.c
View file

@ -244,7 +244,7 @@ static void push_text_command(ug_ctx_t *ctx, ug_vec2_t pos, int size, ug_color_t
}
ug_cmd_t *ug_cmd_next(ug_ctx_t *ctx)
ug_cmd_t * ug_cmd_next(ug_ctx_t *ctx)
{
if(!ctx)
return NULL;
@ -260,7 +260,7 @@ ug_cmd_t *ug_cmd_next(ug_ctx_t *ctx)
// creates a new context, fills with default values, ctx is ready for ug_start()
ug_ctx_t *ug_ctx_new(void)
ug_ctx_t * ug_ctx_new(void)
{
ug_ctx_t *ctx = malloc(sizeof(ug_ctx_t));
if (!ctx)