aboutsummaryrefslogtreecommitdiff
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
commitd2f157c7418e2762316e5471f819ec1e5c49e93c (patch)
tree06ea70551a345da0058d5e6247def72aa4e5f274
parent10e49a0505a250fc78c41842d93eb2a0abaf4c93 (diff)
downloadst-d2f157c7418e2762316e5471f819ec1e5c49e93c.tar.gz
st-d2f157c7418e2762316e5471f819ec1e5c49e93c.zip
renamed a function.
-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);
157static void xclear(int, int, int, int); 157static void xclear(int, int, int, int);
158static void xcursor(int); 158static void xcursor(int);
159static void xinit(void); 159static void xinit(void);
160static void xloadcols(void);
160 161
161static void expose(XEvent *); 162static void expose(XEvent *);
162static char* kmap(KeySym); 163static char* kmap(KeySym);
@@ -1035,7 +1036,7 @@ tresize(int col, int row) {
1035} 1036}
1036 1037
1037void 1038void
1038tloadcols(void) { 1039xloadcols(void) {
1039 int i, r, g, b; 1040 int i, r, g, b;
1040 XColor color; 1041 XColor color;
1041 Colormap cmap = DefaultColormap(xw.dis, xw.scr); 1042 Colormap cmap = DefaultColormap(xw.dis, xw.scr);
@@ -1115,7 +1116,7 @@ xinit(void) {
1115 xw.ch = dc.font->ascent + dc.font->descent; 1116 xw.ch = dc.font->ascent + dc.font->descent;
1116 1117
1117 /* colors */ 1118 /* colors */
1118 tloadcols(); 1119 xloadcols();
1119 1120
1120 term.c.attr.fg = DefaultFG; 1121 term.c.attr.fg = DefaultFG;
1121 term.c.attr.bg = DefaultBG; 1122 term.c.attr.bg = DefaultBG;