Skip to content

Commit

Permalink
Use function set_tabsize()
Browse files Browse the repository at this point in the history
this fixes the following compile error on cygwin:
tig.c: In function `init_display':
tig.c:7112: error: invalid lvalue in assignment

Signed-off-by: Stefan Naewe <stefan.naewe@googlemail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  • Loading branch information
snaewe authored and jonas committed Sep 16, 2010
1 parent 0e32488 commit f1fe753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tig.c
Expand Up @@ -7110,7 +7110,7 @@ init_display(void)
keypad(status_win, TRUE);
wbkgdset(status_win, get_line_attr(LINE_STATUS));

TABSIZE = opt_tab_size;
set_tabsize(opt_tab_size);

term = getenv("XTERM_VERSION") ? NULL : getenv("COLORTERM");
if (term && !strcmp(term, "gnome-terminal")) {
Expand Down

0 comments on commit f1fe753

Please sign in to comment.