diff --git a/include/akgl/character.h b/include/akgl/character.h index 65b6884..e309a51 100644 --- a/include/akgl/character.h +++ b/include/akgl/character.h @@ -47,7 +47,7 @@ typedef struct akgl_Character { * reference. Everything numeric (speeds, accelerations, `speedtime`) is left at * zero for the caller -- or akgl_character_load_json -- to fill in. * - * @param basechar Pooled character to initialize, normally straight from + * @param obj Pooled character to initialize, normally straight from * akgl_heap_next_character. Required. Any previous contents are * discarded without releasing the sprites they referenced. * @param name Registry key, NUL-terminated. Required. Truncated at diff --git a/src/game.c b/src/game.c index 404c237..590830b 100644 --- a/src/game.c +++ b/src/game.c @@ -149,7 +149,7 @@ static akerr_ErrorContext *read_exact(void *ptr, size_t size, size_t nmemb, FILE * `fgetc(3)` is not used here. It spells "end of file" and "the read failed" * with the same `EOF`, so a disk error at this point read as a clean end and * passed the check it was supposed to fail. `aksl_fgetc` tells the two apart: - * #AKERR_EOF is the outcome this wants and is the only one swallowed. + * `AKERR_EOF` is the outcome this wants and is the only one swallowed. * * @param fp Open input stream. Required. * @return `NULL` at end of file, otherwise an error context owned by the caller.