Code

Accept 'utf-8' for the line-graphics option as indicated in the docs
[tig.git] / tig.c
diff --git a/tig.c b/tig.c
index eec5b0abfcd7b3a274d67ec88b64b175db487dfb..51c84b8a936d713fbbd987764055c1f5dce9d7cd 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -64,14 +64,14 @@ static bool prompt_menu(const char *prompt, const struct menu_item *items, int *
 enum graphic {
        GRAPHIC_ASCII = 0,
        GRAPHIC_DEFAULT,
-       GRAPHIC_UTF8
+       GRAPHIC_UTF_8
 };
 
 static const struct enum_map graphic_map[] = {
 #define GRAPHIC_(name) ENUM_MAP(#name, GRAPHIC_##name)
        GRAPHIC_(ASCII),
        GRAPHIC_(DEFAULT),
-       GRAPHIC_(UTF8)
+       GRAPHIC_(UTF_8)
 #undef GRAPHIC_
 };