aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2012-09-19 16:03:16 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2012-09-19 16:03:16 +0200
commit816a70c01ba6bf5e5d2d5e91830f75ef8e4b595d (patch)
tree7dd0bf2e4599117da40795f04c731e0d73aaa321 /st.c
parent1ba5f4172f0bf8b5001ffcfc69118b62bf0fb78a (diff)
downloadst-816a70c01ba6bf5e5d2d5e91830f75ef8e4b595d.tar.gz
use typedef'd unsigned type and regular bool type.
Diffstat (limited to 'st.c')
-rw-r--r--st.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/st.c b/st.c
index 89c59b4..35f6f16 100644
--- a/st.c
+++ b/st.c
@@ -196,7 +196,7 @@ typedef struct {
XIM xim;
XIC xic;
int scr;
- Bool isfixed; /* is fixed geometry? */
+ bool isfixed; /* is fixed geometry? */
int fx, fy, fw, fh; /* fixed geometry */
int tw, th; /* tty width and height */
int w; /* window width */
@@ -931,7 +931,7 @@ tcursor(int mode) {
void
treset(void) {
- unsigned i;
+ uint i;
term.c = (TCursor){{
.mode = ATTR_NULL,
.fg = DefaultFG,
@@ -1594,7 +1594,7 @@ strreset(void) {
void
tputtab(bool forward) {
- unsigned x = term.c.x;
+ uint x = term.c.x;
if(forward) {
if(x == term.col)
@@ -2393,7 +2393,7 @@ run(void) {
int
main(int argc, char *argv[]) {
int i, bitm, xr, yr;
- unsigned int wr, hr;
+ uint wr, hr;
xw.fw = xw.fh = xw.fx = xw.fy = 0;
xw.isfixed = False;
remember that computers suck.