summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-10-08 00:41:15 +0000
committersabetts <sabetts>2004-10-08 00:41:15 +0000
commitd1bff2808d994014b346d36e94ad0a32b1519a53 (patch)
tree59bfe72b752c1a6aabcc77c41a539cb48bb1e3c4 /src
parent2f27a470ae2bf97ca43386c9aa3e8c50acdb7bfc (diff)
downloadratpoison-d1bff2808d994014b346d36e94ad0a32b1519a53.zip
msgwait was accidentally deleted
Diffstat (limited to 'src')
-rw-r--r--src/actions.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/actions.c b/src/actions.c
index 143f965..a5c7165 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -77,6 +77,7 @@ static user_command user_commands[] =
{"link", cmd_link, arg_STRING},
{"listhook", cmd_listhook, arg_STRING},
{"meta", cmd_meta, arg_STRING},
+ {"msgwait", cmd_msgwait, arg_STRING},
{"newkmap", cmd_newkmap, arg_STRING},
{"newwm", cmd_newwm, arg_STRING},
{"next", cmd_next, arg_VOID},
@@ -2773,9 +2774,9 @@ cmd_unsetenv (int interactive, char *data)
s = sbuf_new(0);
sbuf_copy (s, data);
sbuf_concat (s, "=");
- str = sbuf_free_struct (s);
- putenv (str);
-
+/* str = sbuf_free_struct (s); */
+ putenv (sbuf_get(s));
+ sbuf_free (s);
return NULL;
}