projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
965b4e3
)
fixed a bug, the textfile is now deleted after upload.
author
elmex
<elmex>
Tue, 17 Jan 2006 17:04:18 +0000
(17:04 +0000)
committer
elmex
<elmex>
Tue, 17 Jan 2006 17:04:18 +0000
(17:04 +0000)
src/perl/selection-pastebin
patch
|
blob
|
history
diff --git
a/src/perl/selection-pastebin
b/src/perl/selection-pastebin
index bfdeb8ae0efa08ef875236d7d7bf89db4e3f6e0b..64f4a3193a39417dd12b8bc387cc9718d2efd1cb 100644
(file)
--- a/
src/perl/selection-pastebin
+++ b/
src/perl/selection-pastebin
@@
-48,6
+48,8
@@
sub upload_paste {
$msg = "couldn't upload, '$cmd' failed";
}
+ unlink $tmpfile;
+
my $ov = $timers->{ov} = $self->overlay (-1, 0, length ($msg), 1, urxvt::OVERLAY_RSTYLE, 0);
$ov->set (0, 0, $msg);