pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e448324
)
Move column and row default numbers into config.h
author
fpqc
<harry.gindi@live.com>
Wed, 14 Dec 2016 06:51:27 +0000
(06:51 +0000)
committer
Quentin Rameau
<quinq@fifth.space>
Fri, 16 Dec 2016 09:50:23 +0000
(10:50 +0100)
config.def.h
patch
|
blob
|
history
st.c
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
32d107d
..
a719e36
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-130,6
+130,13
@@
static unsigned int defaultrcs = 257;
*/
static unsigned int cursorshape = 2;
+/*
+ * Default columns and rows numbers
+ */
+
+static unsigned int cols = 80;
+static unsigned int rows = 24;
+
/*
* Default colour and shape of the mouse cursor
*/
diff --git
a/st.c
b/st.c
index
d6fe58a
..
fbcd9e0
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-4471,8
+4471,6
@@
usage(void)
int
main(int argc, char *argv[])
{
- uint cols = 80, rows = 24;
-
xw.l = xw.t = 0;
xw.isfixed = False;
xw.cursor = cursorshape;