~mdw
/
tig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix INSTALL
[tig]
/
tig.c
diff --git
a/tig.c
b/tig.c
index
6a5be7f
..
762fb3e
100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-80,6
+80,9
@@
static size_t utf8_length(const char *string, size_t max_width, int *coloffset,
#define COLOR_DEFAULT (-1)
#define ICONV_NONE ((iconv_t) -1)
#define COLOR_DEFAULT (-1)
#define ICONV_NONE ((iconv_t) -1)
+#ifndef ICONV_INBUF_TYPE
+#define ICONV_INBUF_TYPE char *
+#endif
/* The format and size of the date column in the main view. */
#define DATE_FORMAT "%Y-%m-%d %H:%M"
/* The format and size of the date column in the main view. */
#define DATE_FORMAT "%Y-%m-%d %H:%M"
@@
-95,7
+98,7
@@
static size_t utf8_length(const char *string, size_t max_width, int *coloffset,
#define SCALE_SPLIT_VIEW(height) ((height) * 2 / 3)
#ifndef GIT_CONFIG
#define SCALE_SPLIT_VIEW(height) ((height) * 2 / 3)
#ifndef GIT_CONFIG
-#define "git config"
+#define
GIT_CONFIG
"git config"
#endif
#define TIG_LS_REMOTE \
#endif
#define TIG_LS_REMOTE \