st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit d2f157c7418e2762316e5471f819ec1e5c49e93c
parent 10e49a0505a250fc78c41842d93eb2a0abaf4c93
Author: Aurélien Aptel <aurelien.aptel@gmail.com>
Date:   Fri, 13 Aug 2010 22:43:30 +0200

renamed a function.

Diffstat:
Mst.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git 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;