SOURCES: kseg-emptyConstructionList.patch (NEW) - fixes segfault - initial ...

pawelz pawelz at pld-linux.org
Thu Aug 7 23:29:18 CEST 2008


Author: pawelz                       Date: Thu Aug  7 21:29:18 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixes segfault
- initial PLD release

---- Files affected:
SOURCES:
   kseg-emptyConstructionList.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/kseg-emptyConstructionList.patch
diff -u /dev/null SOURCES/kseg-emptyConstructionList.patch:1.1
--- /dev/null	Thu Aug  7 23:29:19 2008
+++ SOURCES/kseg-emptyConstructionList.patch	Thu Aug  7 23:29:12 2008
@@ -0,0 +1,12 @@
+diff -Naur kseg/KSegConstructionList.cpp kseg.new/KSegConstructionList.cpp
+--- kseg/KSegConstructionList.cpp	2006-02-04 02:06:38.000000000 +0000
++++ kseg.new/KSegConstructionList.cpp	2008-08-07 23:10:23.000000000 +0000
+@@ -218,6 +218,8 @@
+ {
+   if((ev->state() & LeftButton) == 0) return;
+ 
++  if ((int)itemYCoords.size() == 0) return;
++
+   if(scrollTimer.isActive() == false) scrollTimer.start(10);
+ 
+   int which = getItemFromYCoord(ev->y());
================================================================


More information about the pld-cvs-commit mailing list