[ekg2-commit] r4071 - trunk/plugins/gg: trunk/plugins/gg/gg.c

SVN commit svn w toxygen.net
Wto, 8 Lip 2008, 21:26:43 CEST


Author: wiechu
Date: 2008-07-08 21:26:42 +0200 (Tue, 08 Jul 2008)
New Revision: 4071

Modified:
   trunk/plugins/gg/gg.c
Log:
    fix gg:skip_default_format variable
    sorry.

Modified: trunk/plugins/gg/gg.c
===================================================================
--- trunk/plugins/gg/gg.c	2008-07-08 17:08:03 UTC (rev 4070)
+++ trunk/plugins/gg/gg.c	2008-07-08 19:26:42 UTC (rev 4071)
@@ -966,7 +966,7 @@
 		gg_debug(GG_DEBUG_DUMP, "\n");
 
 /* XXX, check it. especially this 'pos' */
-		for (i = skip ? 0 : e->event.msg.formats_length; i < e->event.msg.formats_length; ) {
+		for (i = skip ? e->event.msg.formats_length : 0; i < e->event.msg.formats_length; ) {
 			int j, pos = p[i] + p[i + 1] * 256;
 			uint32_t val = 0;
 



Więcej informacji o liście dyskusyjnej ekg2-commit