kwo pushed a commit to branch master.

commit a6c5d24810ea9e6f29d3be4d10684afea9d30e2f
Author: Kim Woelders <[email protected]>
Date:   Sun Sep 8 22:11:04 2013 +0200

    Fixup after list changes.
---
 src/buttons.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/buttons.c b/src/buttons.c
index f14e25d..1389d35 100644
--- a/src/buttons.c
+++ b/src/buttons.c
@@ -446,9 +446,9 @@ ButtonDragEnd(Button * b)
 void
 ButtonsForeach(int id, Desk * dsk, void (*func) (Button * b))
 {
-   Button             *b;
+   Button             *b, *tmp;
 
-   LIST_FOR_EACH(Button, &button_list, b)
+   LIST_FOR_EACH_SAFE(Button, &button_list, b, tmp)
    {
       if (id >= 0 && id != b->id)
         continue;

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk

Reply via email to