summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-09-26 19:32:34 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-09-26 19:32:34 +0200
commit37e8a817eaf6952a6b32ad577cff2b717386611b (patch)
treef8b96ef8ae67045c9a82d32fb8560458754cea23
parent5961379aba45ea41a9234f13dcef1e2994970755 (diff)
mothra: fix url snarfing
-rw-r--r--sys/src/cmd/mothra/mothra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/mothra/mothra.c b/sys/src/cmd/mothra/mothra.c
index 4b44cdd68..d1d06abe3 100644
--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -823,6 +823,7 @@ Url* selurl(char *urlname){
seturl(&url, urlname, current ? current->url->fullname : "");
selection=&url;
message("selected: %s", urlstr(selection));
+ plgrabkb(cmd); /* for snarf */
return selection;
}
void seturl(Url *url, char *urlname, char *base){