aboutsummaryrefslogtreecommitdiff
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
parente2809f3976adaaa641e116970a3611bf67332dfe (diff)
downloadst-patched-bf2e23f5356eb259af0478bcb70be64ddcd3718c.tar.bz2
st-patched-bf2e23f5356eb259af0478bcb70be64ddcd3718c.tar.xz
st-patched-bf2e23f5356eb259af0478bcb70be64ddcd3718c.zip
remove dup of default window size.
-rw-r--r--TODO1
-rw-r--r--st.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/TODO b/TODO
index ef68386..62a9f42 100644
--- a/TODO
+++ b/TODO
@@ -11,6 +11,7 @@ code & interface
11* clean selection code 11* clean selection code
12* clean and complete terminfo entry 12* clean and complete terminfo entry
13* fix shift up/down (shift selection in emacs) 13* fix shift up/down (shift selection in emacs)
14* fast drawing
14* ... 15* ...
15 16
16misc 17misc
diff --git a/st.c b/st.c
index f0c2cd2..4649079 100644
--- a/st.c
+++ b/st.c
@@ -1627,8 +1627,8 @@ xinit(void) {
1627 xloadcols(); 1627 xloadcols();
1628 1628
1629 /* window - default size */ 1629 /* window - default size */
1630 xw.bufh = 24 * xw.ch; 1630 xw.bufh = term.row * xw.ch;
1631 xw.bufw = 80 * xw.cw; 1631 xw.bufw = term.col * xw.cw;
1632 xw.h = xw.bufh + 2*BORDER; 1632 xw.h = xw.bufh + 2*BORDER;
1633 xw.w = xw.bufw + 2*BORDER; 1633 xw.w = xw.bufw + 2*BORDER;
1634 1634