mothra: never snarf the "Go:" box

This commit is contained in:
cinap_lenrek 2012-09-26 19:00:50 +02:00
parent 2b7330765a
commit 8035bb7dd1

View file

@ -1023,11 +1023,11 @@ void killpix(Www *w){
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;