[hackers] [st] Move column and row default numbers into config.h || fpqc
commit c63a87cd936c1eeef14c4c21572e5b782d3df4bc
Author: fpqc <harry.gindi_AT_live.com>
AuthorDate: Wed Dec 14 06:51:27 2016 +0000
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Fri Dec 16 10:50:23 2016 +0100
Move column and row default numbers into config.h
diff --git a/config.def.h b/config.def.h
index 32d107d..a719e36 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -131,6 +131,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
*/
static unsigned int mouseshape = XC_xterm;
diff --git a/st.c b/st.c
index d6fe58a..fbcd9e0 100644
--- a/st.c
+++ b/st.c
_AT_@ -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;
Received on Fri Dec 16 2016 - 11:03:53 CET
This archive was generated by hypermail 2.3.0
: Fri Dec 16 2016 - 11:12:16 CET