Allow tab expansion up to 12 spaces. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit be865a152edb3d824c4ef17fdd82840decb90370
(DIR) parent 6ae965498aeb8fc66a7593019cb41188e7a22487
(HTM) Author: Rob King <jking@deadpixi.com>
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(-)
---
(DIR) 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;