aboutsummaryrefslogtreecommitdiff
path: root/src/st
diff options
context:
space:
mode:
Diffstat (limited to 'src/st')
-rw-r--r--src/st/config.h2
-rw-r--r--src/st/config.mk4
-rw-r--r--src/st/st.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/st/config.h b/src/st/config.h
index 58e5e06..86cc542 100644
--- a/src/st/config.h
+++ b/src/st/config.h
@@ -5,7 +5,7 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char *font = "CommitMono:pixelsize=16:antialias=true:autohint=true";
+static char *font = "Commit Mono:pixelsize=15";
static int borderpx = 2;
/*
diff --git a/src/st/config.mk b/src/st/config.mk
index 2fc854e..2ac1814 100644
--- a/src/st/config.mk
+++ b/src/st/config.mk
@@ -4,7 +4,7 @@ VERSION = 0.9.3
# Customize below to fit your system
# paths
-PREFIX = /usr/local
+PREFIX = $(HOME)/.local
MANPREFIX = $(PREFIX)/share/man
X11INC = /usr/X11R6/include
@@ -22,7 +22,7 @@ LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
# flags
STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
-STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS)
+STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS) -g -ggdb
STLDFLAGS = $(LIBS) $(LDFLAGS)
# OpenBSD:
diff --git a/src/st/st.c b/src/st/st.c
index 3286a8f..9819cf7 100644
--- a/src/st/st.c
+++ b/src/st/st.c
@@ -3209,7 +3209,7 @@ draw(void)
LIMIT(term.ocy, 0, term.row-1);
if (term.line[term.ocy][term.ocx].mode & ATTR_WDUMMY)
term.ocx--;
- if (term.line[term.c.y][cx].mode & ATTR_WDUMMY)
+ if (term.line[term.c.y][cx].mode & ATTR_WDUMMY)
cx--;
drawregion(0, 0, term.col, term.row);