summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorportix <none@none>2012-08-15 21:52:27 +0200
committerportix <none@none>2012-08-15 21:52:27 +0200
commit1b71e3d1bf57a002fb9faaa5b0d964d412e0b7e8 (patch)
tree5afdd47bfaa315fb68060691b17539a8a8e16166 /src
parentb25f968f99dcb50aded3a82aececc5f900694c6b (diff)
downloaddwb-1b71e3d1bf57a002fb9faaa5b0d964d412e0b7e8.zip
Cleare command text in script_eval_key
Diffstat (limited to 'src')
-rw-r--r--src/scripts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scripts.c b/src/scripts.c
index 63cb6d7b..eb0687e4 100644
--- a/src/scripts.c
+++ b/src/scripts.c
@@ -582,6 +582,7 @@ error_out:
DwbStatus
scripts_eval_key(KeyMap *m, Arg *arg) {
char *json = NULL;
+ CLEAR_COMMAND_TEXT();
if (arg->p == NULL)
json = util_create_json(1, INTEGER, "nummod", dwb.state.nummod);
else