From 227c66cf6142c24c502683edd6f9aefe17afc761 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 23 Oct 2012 22:43:12 +0200 Subject: [PATCH] use Colors and Attributes are char --- src/color.hh | 2 +- src/display_buffer.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/color.hh b/src/color.hh index 64cf6350..61a57153 100644 --- a/src/color.hh +++ b/src/color.hh @@ -4,7 +4,7 @@ namespace Kakoune { -enum class Color +enum class Color : char { Default, Black, diff --git a/src/display_buffer.hh b/src/display_buffer.hh index 385ad94b..0fce7ab4 100644 --- a/src/display_buffer.hh +++ b/src/display_buffer.hh @@ -18,7 +18,7 @@ struct DisplayCoord : LineAndColumn : LineAndColumn(line, column) {} }; -typedef int Attribute; +typedef char Attribute; enum Attributes {