aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2011-09-16 17:57:56 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2011-09-16 17:57:56 +0200
commitbf2e23f5356eb259af0478bcb70be64ddcd3718c (patch)
treefb53f20b759091f71e3c90730d68ec829fb6955f /st.c
parente2809f3976adaaa641e116970a3611bf67332dfe (diff)
downloadst-bf2e23f5356eb259af0478bcb70be64ddcd3718c.tar.gz
st-bf2e23f5356eb259af0478bcb70be64ddcd3718c.tar.bz2
remove dup of default window size.
Diffstat (limited to 'st.c')
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index f0c2cd2..4649079 100644
--- a/st.c
+++ b/st.c
@@ -1627,8 +1627,8 @@ xinit(void) {
xloadcols();
/* window - default size */
- xw.bufh = 24 * xw.ch;
- xw.bufw = 80 * xw.cw;
+ xw.bufh = term.row * xw.ch;
+ xw.bufw = term.col * xw.cw;
xw.h = xw.bufh + 2*BORDER;
xw.w = xw.bufw + 2*BORDER;