aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2010-08-13 22:43:30 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2010-08-13 22:43:30 +0200
commitb0672d093221133dd58c01ca5498ebf9ebb29ee5 (patch)
tree06ea70551a345da0058d5e6247def72aa4e5f274 /st.c
parent2bbe19f9d5fa9e57483cf6c78ba2338e2670dc52 (diff)
downloadst-b0672d093221133dd58c01ca5498ebf9ebb29ee5.tar.gz
st-b0672d093221133dd58c01ca5498ebf9ebb29ee5.tar.bz2
renamed a function.
Diffstat (limited to 'st.c')
-rw-r--r--st.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/st.c b/st.c
index 5715f0f..deddb0d 100644
--- 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 xloadcols(void);
static void expose(XEvent *);
static char* kmap(KeySym);
@@ -1035,7 +1036,7 @@ tresize(int col, int row) {
}
void
-tloadcols(void) {
+xloadcols(void) {
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 */
- tloadcols();
+ xloadcols();
term.c.attr.fg = DefaultFG;
term.c.attr.bg = DefaultBG;