From 8f83b5154351bce50581330ef49320b66d425dbb Mon Sep 17 00:00:00 2001 From: seleznevae Date: Wed, 2 Jun 2021 18:59:59 +0300 Subject: [PATCH] [F] Fix invalid enumeration values --- ChangeLog.md | 1 + lib/fort.h | 6 +++--- src/fort.h | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) 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 */ }; /**