JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fixed possible segfault by reverting to the key struct (again).
[st.git] / config.h
index c01354d..67c854e 100644 (file)
--- a/config.h
+++ b/config.h
@@ -6,7 +6,7 @@
 #define LINESPACE 1 /* additional pixel between each line */
 
 /* Terminal colors */
-static char* colorname[] = {
+static const char *colorname[] = {
        "black",
        "red",
        "green",
@@ -24,7 +24,6 @@ static char* colorname[] = {
 #define DefaultCS 1
 #define BellCol   DefaultFG
 
-
 /* special keys */
 static Key key[] = {
        { XK_Delete, "\033[3~" },