Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
(from parent 2:
b11e22d
)
merge
author
Aurélien Aptel <
[email protected]
>
Mon, 13 Feb 2012 00:01:41 +0000
(
01:01
+0100)
committer
Aurélien Aptel <
[email protected]
>
Mon, 13 Feb 2012 00:01:41 +0000
(
01:01
+0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
abaa7bf
..
fca97ce
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-86,10
+86,10
@@
typedef unsigned long ulong;
typedef struct {
char c[UTF_SIZ]; /* character code */
- char mode; /* attribute flags */
-
int
fg; /* foreground */
-
int
bg; /* background */
- char state; /* state flags */
+
u
char mode; /* attribute flags */
+
uchar
fg; /* foreground */
+
uchar
bg; /* background */
+
u
char state; /* state flags */
} Glyph;
typedef Glyph* Line;