ref: 8035bb7dd1a83e3b98b3bb54defe0dbf35c861cf
parent: 2b7330765aeb322017516ef50f9343cbdda07a95
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Wed Sep 26 15:00:50 EDT 2012
mothra: never snarf the "Go:" box
--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -1023,11 +1023,11 @@
updtext(w);
}
void snarf(Panel *p){- if(p==0) p=cmd;
- plputsnarf(urlstr(selection));
- /* non-ops if nothing selected */
- plsnarf(p);
- plsnarf(text);
+ if(p==0 || p==cmd){+ plputsnarf(urlstr(selection));
+ plsnarf(text);
+ }else
+ plsnarf(p);
}
void paste(Panel *p){if(p==0) p=cmd;
--
⑨