Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
st.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed possible segfault by reverting to the key struct (again).
[st.git]
/
config.h
diff --git
a/config.h
b/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 */
#define LINESPACE 1 /* additional pixel between each line */
/* Terminal colors */
-static char* colorname[] = {
+static const char *colorname[] = {
"black",
"red",
"green",
"black",
"red",
"green",
@@
-24,7
+24,6
@@
static char* colorname[] = {
#define DefaultCS 1
#define BellCol DefaultFG
#define DefaultCS 1
#define BellCol DefaultFG
-
/* special keys */
static Key key[] = {
{ XK_Delete, "\033[3~" },
/* special keys */
static Key key[] = {
{ XK_Delete, "\033[3~" },