Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- event.c 2011-09-04 00:56:44.538509277 +0200
- +++ event.c.new 2011-09-04 01:03:30.073849536 +0200
- @@ -45,7 +45,7 @@
- for(; i < n; ++i)
- {
- if(m[i].screen == screen || m[i].screen < 0) /* Screen */
- - if(m[i].tag == seltag[i] || m[i].tag < 0) /* Tag */
- + if(screen_count() > i && m[i].tag == seltag[i] || m[i].tag < 0) /* Tag */
- if(m[i].button == button) /* Button */
- if(m[i].func) /* Function */
- m[i].func(m[i].cmd);
Add Comment
Please, Sign In to add comment