[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Mon Feb 16 21:54:50 CET 2004


CVS commit by staikos: 

misc fixes discovered today


  M +2 -2      enodes.cpp   1.7
  M +2 -2      kstplugindialog_i.cpp   1.50
  M +4 -2      kstvector.cpp   1.59


--- kdeextragear-2/kst/kst/enodes.cpp  #1.6:1.7
@@ -206,5 +206,5 @@ static double sec(double x) {
 
 static double step(double x) {
-  return x > 0.0 ? 0.0 : 1.0;
+  return x > 0.0 ? 1.0 : 0.0;
 }
 
@@ -327,6 +327,6 @@ static struct {
   double value;
 } ITable[] = {
-  {"pi", 3.1415926536},
   {"e", 2.7128182846},
+  {"pi", 3.1415926536},
   {0, 0.0}
 };

--- kdeextragear-2/kst/kst/kstplugindialog_i.cpp  #1.49:1.50
@@ -110,5 +110,5 @@ void KstPluginDialogI::updatePluginList(
                                                   it != _pluginMap.end();
                                                                      ++it) {
-    if (it.data()._filter == false) {
+    //if (it.data()._filter == false) {
       _pluginList += it.data()._name;
       PluginCombo->insertItem(i18n("%1 (v%2) - %3").arg(it.data()._name)
@@ -119,5 +119,5 @@ void KstPluginDialogI::updatePluginList(
       }
       cnt++;
-    }
+    //}
   }
 

--- kdeextragear-2/kst/kst/kstvector.cpp  #1.58:1.59
@@ -100,6 +100,8 @@ KstVector::~KstVector() {
   }
 
+  if (_v) {
   free(_v);
   _v = 0;
+  }
 }
 





More information about the Kst mailing list