diff --git a/ChangeLog.md b/ChangeLog.md index 290056d..f8beb74 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -4,6 +4,7 @@ - Add builds with gcc-9 to CI. - Fix invalid pointer to integer cast that might cause problems on some platforms. +- Fix spelling in the documentation strings. ## v0.4.1 diff --git a/lib/fort.h b/lib/fort.h index 5cc77f9..50b78e5 100644 --- a/lib/fort.h +++ b/lib/fort.h @@ -397,7 +397,7 @@ int ft_erase_range(ft_table_t *table, #if defined(FT_CLANG_COMPILER) || defined(FT_GCC_COMPILER) /** - * Write data formatted acording to the format string to a variety of table + * Write data formatted according to the format string to a variety of table * cells. * * @param table @@ -407,7 +407,7 @@ int ft_erase_range(ft_table_t *table, * the data. The format string consists of ordinary characters (except % and |), * which are copied unchanged into the output stream, and conversion * specifications. Conversion specifications are the same as for standard - * printf function. Character '|' (wich can be changed with + * printf function. Character '|' (which can be changed with * {@link ft_set_default_printf_field_separator}) in the format string is treated as * a cell separator. * @param ... @@ -424,7 +424,7 @@ int ft_erase_range(ft_table_t *table, int ft_printf(ft_table_t *table, const char *fmt, ...) FT_PRINTF_ATTRIBUTE_FORMAT(2, 3); /** - * Write data formatted acording to the format string to a variety of table + * Write data formatted according to the format string to a variety of table * cells and move current position to the first cell of the next line(row). * * @param table @@ -434,7 +434,7 @@ int ft_printf(ft_table_t *table, const char *fmt, ...) FT_PRINTF_ATTRIBUTE_FORMA * the data. The format string consists of ordinary characters (except % and |), * which are copied unchanged into the output stream, and conversion * specifications. Conversion specifications are the same as for standard - * printf function. Character '|' (wich can be changed with + * printf function. Character '|' (which can be changed with * {@link ft_set_default_printf_field_separator}) in the format string is treated as * a cell separator. * @param ... diff --git a/src/fort.h b/src/fort.h index 5cc77f9..50b78e5 100644 --- a/src/fort.h +++ b/src/fort.h @@ -397,7 +397,7 @@ int ft_erase_range(ft_table_t *table, #if defined(FT_CLANG_COMPILER) || defined(FT_GCC_COMPILER) /** - * Write data formatted acording to the format string to a variety of table + * Write data formatted according to the format string to a variety of table * cells. * * @param table @@ -407,7 +407,7 @@ int ft_erase_range(ft_table_t *table, * the data. The format string consists of ordinary characters (except % and |), * which are copied unchanged into the output stream, and conversion * specifications. Conversion specifications are the same as for standard - * printf function. Character '|' (wich can be changed with + * printf function. Character '|' (which can be changed with * {@link ft_set_default_printf_field_separator}) in the format string is treated as * a cell separator. * @param ... @@ -424,7 +424,7 @@ int ft_erase_range(ft_table_t *table, int ft_printf(ft_table_t *table, const char *fmt, ...) FT_PRINTF_ATTRIBUTE_FORMAT(2, 3); /** - * Write data formatted acording to the format string to a variety of table + * Write data formatted according to the format string to a variety of table * cells and move current position to the first cell of the next line(row). * * @param table @@ -434,7 +434,7 @@ int ft_printf(ft_table_t *table, const char *fmt, ...) FT_PRINTF_ATTRIBUTE_FORMA * the data. The format string consists of ordinary characters (except % and |), * which are copied unchanged into the output stream, and conversion * specifications. Conversion specifications are the same as for standard - * printf function. Character '|' (wich can be changed with + * printf function. Character '|' (which can be changed with * {@link ft_set_default_printf_field_separator}) in the format string is treated as * a cell separator. * @param ...