diff options
| author | fpqc <harry.gindi@live.com> | 2016-12-14 06:51:27 +0000 |
|---|---|---|
| committer | Quentin Rameau <quinq@fifth.space> | 2016-12-16 10:50:23 +0100 |
| commit | c63a87cd936c1eeef14c4c21572e5b782d3df4bc (patch) | |
| tree | babe8cd065384acd7a0d798daaf94bbd584b0fe8 | |
| parent | e44832408bb3147826c346872b49de105a4d0e0b (diff) | |
| download | st-c63a87cd936c1eeef14c4c21572e5b782d3df4bc.tar.gz st-c63a87cd936c1eeef14c4c21572e5b782d3df4bc.zip | |
Move column and row default numbers into config.h
| -rw-r--r-- | config.def.h | 7 | ||||
| -rw-r--r-- | st.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index 32d107d..a719e36 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -131,6 +131,13 @@ static unsigned int defaultrcs = 257; | |||
| 131 | static unsigned int cursorshape = 2; | 131 | static unsigned int cursorshape = 2; |
| 132 | 132 | ||
| 133 | /* | 133 | /* |
| 134 | * Default columns and rows numbers | ||
| 135 | */ | ||
| 136 | |||
| 137 | static unsigned int cols = 80; | ||
| 138 | static unsigned int rows = 24; | ||
| 139 | |||
| 140 | /* | ||
| 134 | * Default colour and shape of the mouse cursor | 141 | * Default colour and shape of the mouse cursor |
| 135 | */ | 142 | */ |
| 136 | static unsigned int mouseshape = XC_xterm; | 143 | static unsigned int mouseshape = XC_xterm; |
| @@ -4471,8 +4471,6 @@ usage(void) | |||
| 4471 | int | 4471 | int |
| 4472 | main(int argc, char *argv[]) | 4472 | main(int argc, char *argv[]) |
| 4473 | { | 4473 | { |
| 4474 | uint cols = 80, rows = 24; | ||
| 4475 | |||
| 4476 | xw.l = xw.t = 0; | 4474 | xw.l = xw.t = 0; |
| 4477 | xw.isfixed = False; | 4475 | xw.isfixed = False; |
| 4478 | xw.cursor = cursorshape; | 4476 | xw.cursor = cursorshape; |
