summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Viktor Semykin <thesame.ml@gmail.com>2011-04-09 13:57:38 +0300
committerGravatar waker <wakeroid@gmail.com>2011-04-09 13:22:26 +0200
commit74722826f46fd4a473b983c3a261cd04a18104a6 (patch)
tree5b2782e2f6914823767f1747d05428b6cce8fc1d /plugins
parent01856f7391c6be5904e3c155199a79e8ee42897a (diff)
Trim strings on shellexec
Diffstat (limited to 'plugins')
-rw-r--r--plugins/shellexec/shellexec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/shellexec/shellexec.c b/plugins/shellexec/shellexec.c
index a2c60af4..a6d57d8b 100644
--- a/plugins/shellexec/shellexec.c
+++ b/plugins/shellexec/shellexec.c
@@ -151,10 +151,10 @@ shx_start ()
continue;
}
- const char *command = args[0];
- const char *title = args[1];
- const char *name = args[2];
- const char *flags = args[3];
+ const char *command = trim (args[0]);
+ const char *title = trim (args[1]);
+ const char *name = trim (args[2]);
+ const char *flags = trim (args[3]);
if (!name) {
name = "noname";
}