diff --git a/ChangeLog.md b/ChangeLog.md index d2812b3..533b7bb 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -7,6 +7,7 @@ ### Bug fixes - Fix `ft_printf_ln` when it is used for position which have empty cells before it. +- Fix invalid `enum ft_color` values. ## v0.4.2 diff --git a/lib/fort.h b/lib/fort.h index 11c35a2..6c95be6 100644 --- a/lib/fort.h +++ b/lib/fort.h @@ -820,9 +820,9 @@ enum ft_color { FT_COLOR_LIGHT_GREEN = 11, /**< Light green color */ FT_COLOR_LIGHT_YELLOW = 12, /**< Light yellow color */ FT_COLOR_LIGHT_BLUE = 13, /**< Light blue color */ - FT_COLOR_LIGHT_MAGENTA = 15, /**< Light magenta color */ - FT_COLOR_LIGHT_CYAN = 16, /**< Light cyan color */ - FT_COLOR_LIGHT_WHYTE = 17 /**< Light whyte color */ + FT_COLOR_LIGHT_MAGENTA = 14, /**< Light magenta color */ + FT_COLOR_LIGHT_CYAN = 15, /**< Light cyan color */ + FT_COLOR_LIGHT_WHYTE = 16 /**< Light whyte color */ }; /** diff --git a/src/fort.h b/src/fort.h index 11c35a2..6c95be6 100644 --- a/src/fort.h +++ b/src/fort.h @@ -820,9 +820,9 @@ enum ft_color { FT_COLOR_LIGHT_GREEN = 11, /**< Light green color */ FT_COLOR_LIGHT_YELLOW = 12, /**< Light yellow color */ FT_COLOR_LIGHT_BLUE = 13, /**< Light blue color */ - FT_COLOR_LIGHT_MAGENTA = 15, /**< Light magenta color */ - FT_COLOR_LIGHT_CYAN = 16, /**< Light cyan color */ - FT_COLOR_LIGHT_WHYTE = 17 /**< Light whyte color */ + FT_COLOR_LIGHT_MAGENTA = 14, /**< Light magenta color */ + FT_COLOR_LIGHT_CYAN = 15, /**< Light cyan color */ + FT_COLOR_LIGHT_WHYTE = 16 /**< Light whyte color */ }; /**