Guest User

Untitled

a guest
Oct 21st, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.58 KB | None | 0 0
  1. --- event.c 2011-09-04 00:56:44.538509277 +0200
  2. +++ event.c.new 2011-09-04 01:03:30.073849536 +0200
  3. @@ -45,7 +45,7 @@
  4.       for(; i < n; ++i)
  5.       {
  6.            if(m[i].screen == screen || m[i].screen < 0)   /* Screen   */
  7. -               if(m[i].tag == seltag[i] || m[i].tag < 0) /* Tag      */
  8. +               if(screen_count() > i && m[i].tag == seltag[i] || m[i].tag < 0) /* Tag      */
  9.                      if(m[i].button == button)            /* Button   */
  10.                           if(m[i].func)                   /* Function */
  11.                                m[i].func(m[i].cmd);
Add Comment
Please, Sign In to add comment