shithub: riscv

Download patch

ref: 37e8a817eaf6952a6b32ad577cff2b717386611b
parent: 5961379aba45ea41a9234f13dcef1e2994970755
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Wed Sep 26 15:32:34 EDT 2012

mothra: fix url snarfing

--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -823,6 +823,7 @@
 	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){
--