Xinqi Bao's Git
projects
/
st.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
10e49a0
)
renamed a function.
author
Aurélien Aptel <
[email protected]
>
Fri, 13 Aug 2010 20:43:30 +0000
(22:43 +0200)
committer
Aurélien Aptel <
[email protected]
>
Fri, 13 Aug 2010 20:43:30 +0000
(22:43 +0200)
st.c
diff
|
blob
|
history
diff --git
a/st.c
b/st.c
index
5715f0f
..
deddb0d
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-157,6
+157,7
@@
static void ttywrite(const char *, size_t);
static void xclear(int, int, int, int);
static void xcursor(int);
static void xinit(void);
static void xclear(int, int, int, int);
static void xcursor(int);
static void xinit(void);
+static void xloadcols(void);
static void expose(XEvent *);
static char* kmap(KeySym);
static void expose(XEvent *);
static char* kmap(KeySym);
@@
-1035,7
+1036,7
@@
tresize(int col, int row) {
}
void
}
void
-
t
loadcols(void) {
+
x
loadcols(void) {
int i, r, g, b;
XColor color;
Colormap cmap = DefaultColormap(xw.dis, xw.scr);
int i, r, g, b;
XColor color;
Colormap cmap = DefaultColormap(xw.dis, xw.scr);
@@
-1115,7
+1116,7
@@
xinit(void) {
xw.ch = dc.font->ascent + dc.font->descent;
/* colors */
xw.ch = dc.font->ascent + dc.font->descent;
/* colors */
-
t
loadcols();
+
x
loadcols();
term.c.attr.fg = DefaultFG;
term.c.attr.bg = DefaultBG;
term.c.attr.fg = DefaultFG;
term.c.attr.bg = DefaultBG;