Allow tab expansion up to 12 spaces. - sam - An updated version of the sam text… | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit be865a152edb3d824c4ef17fdd82840decb90370 | |
parent 6ae965498aeb8fc66a7593019cb41188e7a22487 | |
Author: Rob King <[email protected]> | |
Date: Thu, 28 Jul 2016 09:58:50 -0500 | |
Allow tab expansion up to 12 spaces. | |
Diffstat: | |
libframe/frinit.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/libframe/frinit.c b/libframe/frinit.c | |
@@ -10,7 +10,7 @@ void | |
frinit(Frame *f, Rectangle r, XftFont *ft, Bitmap *b) | |
{ | |
int tabs = atoi(getenv("TABS") ? getenv("TABS") : ""); | |
- if (tabs > 0 && tabs < 12) | |
+ if (tabs > 0 && tabs <= 12) | |
tabwidth = tabs; | |
f->font = ft; |