From: Stefan Naewe Date: Sun, 12 Sep 2010 09:03:52 +0000 (+0200) Subject: Use function set_tabsize() X-Git-Url: https://git.tokkee.org/?p=tig.git;a=commitdiff_plain;h=f1fe753be71ef3ce5abcbb16c2a359f97e5c7e7d Use function set_tabsize() 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 Signed-off-by: Jonas Fonseca --- diff --git a/tig.c b/tig.c index 2a31ddd..e0e812c 100644 --- a/tig.c +++ b/tig.c @@ -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")) {