SOURCES: gnome-applet-netspeed-assertion.patch (NEW) - fixes assertion (bac...

megabajt megabajt at pld-linux.org
Wed Sep 17 10:11:07 CEST 2008


Author: megabajt                     Date: Wed Sep 17 08:11:07 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixes assertion (backported from SVN)

---- Files affected:
SOURCES:
   gnome-applet-netspeed-assertion.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gnome-applet-netspeed-assertion.patch
diff -u /dev/null SOURCES/gnome-applet-netspeed-assertion.patch:1.1
--- /dev/null	Wed Sep 17 10:11:08 2008
+++ SOURCES/gnome-applet-netspeed-assertion.patch	Wed Sep 17 10:11:02 2008
@@ -0,0 +1,12 @@
+diff -urN netspeed_applet-0.15/src/netspeed.c netspeed_applet-0.15.new/src/netspeed.c
+--- netspeed_applet-0.15/src/netspeed.c	2008-09-07 18:54:13.000000000 +0200
++++ netspeed_applet-0.15.new/src/netspeed.c	2008-09-17 09:54:42.000000000 +0200
+@@ -350,7 +350,7 @@
+ {
+ 	unsigned int q;
+ 	
+-	q = (applet->devinfo.qual - 1);
++	q = (applet->devinfo.qual);
+ 	q = logf (q / 3.0f) + 0.25f;
+ 
+ 	g_assert(q >= 0 && q < 4);
================================================================


More information about the pld-cvs-commit mailing list