(wrong string) élien Aptel

From: <hg_AT_suckless.org>
Date: Wed, 19 Sep 2012 16:03:21 +0200 (CEST)

changeset: 321:babea360156f
tag: tip
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Wed Sep 19 16:03:16 2012 +0200
files: st.c
description:
use typedef'd unsigned type and regular bool type.


diff -r 25183e42ebfd -r babea360156f st.c
--- a/st.c Tue Sep 18 19:13:19 2012 +0200
+++ b/st.c Wed Sep 19 16:03:16 2012 +0200
_AT_@ -196,7 +196,7 @@
         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 */
_AT_@ -931,7 +931,7 @@
 
 void
 treset(void) {
- unsigned i;
+ uint i;
         term.c = (TCursor){{
                 .mode = ATTR_NULL,
                 .fg = DefaultFG,
_AT_@ -1594,7 +1594,7 @@
 
 void
 tputtab(bool forward) {
- unsigned x = term.c.x;
+ uint x = term.c.x;
 
         if(forward) {
                 if(x == term.col)
_AT_@ -2393,7 +2393,7 @@
 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;
Received on Wed Sep 19 2012 - 16:03:21 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 19 2012 - 16:12:08 CEST