-- Andrew Veliath <veliaa_at_rpi.edu> http://www.rpi.edu/~veliaa Finger for PGP Public Key Key fingerprint = 51 56 5D 3E 51 43 8B 74 7C B2 E4 B6 84 8E 8B 08 --- ../../orig/fvwm-2.0.45/fvwm/style.c Wed Jan 22 15:28:59 1997 +++ style.c Mon Feb 10 12:23:28 1997 _at_@ -115,7 +115,9 @@ restofline++; while(isspace(*restofline))restofline++; - on_buttons |= (1<<(butt-1)); + if (butt == 0) butt = 10; + if (butt > 0 && butt <= 10) + on_buttons |= (1<<(butt-1)); } else if(mystrncasecmp(restofline,"BorderWidth",11)==0) { _at_@ -460,7 +462,9 @@ restofline++; while(isspace(*restofline))restofline++; - off_buttons |= (1<<(butt-1)); + if (butt == 0) butt = 10; + if (butt > 0 && butt <= 10) + off_buttons |= (1<<(butt-1)); } else if(mystrncasecmp(restofline,"NOOLDECOR",9)==0) { -- Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to majordomo_at_hpc.uh.edu. To report problems, send mail to fvwm-owner_at_hpc.uh.edu.Received on Mon Feb 10 1997 - 11:36:43 GMT
This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST