[fusion-commits] Animation plugin: Changes to 'master' (1e2840d85f0231a4c11285a08b50c707729cd94a)

cornelius at server.beryl-project.org cornelius at server.beryl-project.org
Thu Jul 26 04:07:39 CEST 2007


New commits:
commit 1e2840d85f0231a4c11285a08b50c707729cd94a
Author: Erkin Bahceci <erkinbah at gmail.com>
Date:   Wed Jul 25 22:06:46 2007 -0400

    Fix freeing after event order change.


 options.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Modified: fusion/plugins/animation/options.c
===================================================================
--- fusion/plugins/animation/options.c
+++ fusion/plugins/animation/options.c
@@ -100,7 +100,7 @@ void
 freeAllOptionSets(OptionSets **eventsOss)
 {
     int i;
-    for (i = 1; i < NUM_EVENTS; i++)
+    for (i = 0; i < NUM_EVENTS; i++)
     {
 	OptionSets *oss = eventsOss[i];
 	if (!oss->sets)
@@ -113,7 +113,7 @@ freeAllOptionSets(OptionSets **eventsOss)
     free (eventsOss[WindowEventFocus]);
     free (eventsOss[WindowEventShade]);
 
-    for (i = 1; i < NUM_EVENTS; i++)
+    for (i = 0; i < NUM_EVENTS; i++)
 	eventsOss[i] = NULL;
 }
 


More information about the commits mailing list