diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Replace non-ASCII output glyphs with ASCII
Diffstat (limited to '')
| -rw-r--r-- | source/ui-shared.c | 5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 2 insertions, 3 deletions
diff --git a/source/ui-shared.c b/source/ui-shared.c index 317bff2..6460e64 100644 --- a/source/ui-shared.c +++ b/source/ui-shared.c @@ -1765,12 +1765,11 @@ void cgit_set_title_from_path(const char *path) return; // The path is read from the end so that the title names the file first - // and the directories it sits in after it. The separator between them - // is a guillemet, spelled here as the UTF-8 bytes of one. + // and the directories it sits in after it. last_slash = path + strlen(path); while ((slash = find_last_char(path, last_slash, '/')) != NULL) { strbuf_add(&sb, slash + 1, last_slash - slash - 1); - strbuf_addstr(&sb, " \xc2\xab "); + strbuf_addstr(&sb, " < "); last_slash = slash; } strbuf_add(&sb, path, last_slash - path); |
