summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9cfde75)
raw | patch | inline | side by side (parent: 9cfde75)
author | Jonas Fonseca <fonseca@diku.dk> | |
Sun, 10 Apr 2011 16:19:10 +0000 (12:19 -0400) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Sun, 10 Apr 2011 16:19:29 +0000 (12:19 -0400) |
Reported by Bernhard Walle.
NEWS | patch | blob | history | |
tig.c | patch | blob | history |
index 02ec3ef6558a638fff6ee2974796d4407455f395..d4a3db20fdfff7d68b39252317bbca91a181bbf4 100644 (file)
--- a/NEWS
+++ b/NEWS
Bug fixes:
- Expand %(directory) to . for the root directory. (GH-3)
Bug fixes:
- Expand %(directory) to . for the root directory. (GH-3)
+ - Accept 'utf-8' for the line-graphics option as indicated in the docs.
tig-0.17
--------
tig-0.17
--------
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,
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),
};
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_
};
#undef GRAPHIC_
};