sipb-www
/
snippets
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c2ef01
)
barnowl/zcrypt.pl: BarnOwl::quote the editwin prompt.
author
Anders Kaseorg
<andersk@mit.edu>
Mon, 3 May 2010 00:45:42 +0000
(20:45 -0400)
committer
Anders Kaseorg
<andersk@mit.edu>
Mon, 3 May 2010 00:45:42 +0000
(20:45 -0400)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
barnowl/zcrypt.pl
patch
|
blob
|
history
diff --git
a/barnowl/zcrypt.pl
b/barnowl/zcrypt.pl
index d53bb2151f09435444c78872ba2eb5c5f44912c5..8ce18ff8ad118a308ad6b36e82a82a4ec4af733d 100644
(file)
--- a/
barnowl/zcrypt.pl
+++ b/
barnowl/zcrypt.pl
@@
-46,7
+46,8
@@
SEE ALSO: zcrypt(1)"});
BarnOwl::new_command(zcrypt => sub {
my $cmd = shift;
my @args = @_;
- my $argstring = join ' ', @args;
+ #my $argstring = BarnOwl::quote(@args); # requires BarnOwl 1.4
+ my $argstring = join ' ', map { BarnOwl::quote($_) } @args;
BarnOwl::start_edit_win("athrun barnowl zcrypt $argstring", sub {
my $msg = shift;
my ($zo, $zi);