summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actions.c5
-rw-r--r--src/conf.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/actions.c b/src/actions.c
index 9ee7bd7..9c097db 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -2322,7 +2322,10 @@ command (int interactive, char *data)
cmd = strtok (input, " ");
if (cmd == NULL)
- goto done;
+ {
+ result = cmdret_new (RET_FAILURE, NULL);
+ goto done;
+ }
rest = strtok (NULL, "\0");
diff --git a/src/conf.h b/src/conf.h
index 91d2c56..2095efd 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -120,6 +120,6 @@
#define TOP_KEYMAP "top"
/* The default font */
-#define DEFAULT_FONT "9x15bold"
+#define DEFAULT_FONT "-*-fixed-bold-r-normal-*-15-*-*-*-c-*-*-*"
#endif /* !_ _RATPOISON_CONF_H */