summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2016-12-05 19:14:46 +0100
committerpgen <p.gen.progs@gmail.com>2016-12-05 19:14:46 +0100
commit8291a36c87bf7c398acd998e1792a288da3e6ad8 (patch)
tree4bfd521b16105185244cee6784435c73ff8855ec
parent5e5fac5a58e6ce1cd53b294cfe492886d387f11b (diff)
Fix a stupid bug preventing the -k option from working
-rw-r--r--smenu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/smenu.c b/smenu.c
index 83d859e..34b80ea 100644
--- a/smenu.c
+++ b/smenu.c
@@ -6535,7 +6535,6 @@ main(int argc, char * argv[])
/* I consider their presence intentional as the only way to */
/* have them is to use quotes in the command line. */
/* """""""""""""""""""""""""""""""""""""""""""""""""""""""" */
- rtrim(output_str, " \t", word_a[wi].len);
if (!toggle.keep_spaces)
{
ltrim(output_str, " \t");
@@ -6580,7 +6579,6 @@ main(int argc, char * argv[])
/* consider their presence intentional as the only way to have */
/* them is to use quotes in the command line. */
/* """"""""""""""""""""""""""""""""""""""""""""""""""""""""""" */
- rtrim(output_str, " \t", word_a[current].len);
if (!toggle.keep_spaces)
{
ltrim(output_str, " \t");