[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Mon Jul 7 23:27:50 CEST 2003


CVS commit by staikos: 

fix bug: error bars were inverted - set none, it tries to use *end().  set one
  and it wipes out your setting

add license and copyright


  M +20 -2     kstcurvedialog_i.cpp   1.22
  M +18 -0     kstcurvedialog_i.h   1.10


--- kdeextragear-2/kst/kst/kstcurvedialog_i.cpp  #1.21:1.22
@@ -1,2 +1,20 @@
+/***************************************************************************
+                      kstcurvedialog_i.cpp  -  Part of KST
+                             -------------------
+    begin                : 
+    copyright            : (C) 2003 The University of Toronto
+                           (C) 2003 C. Barth Netterfield
+    email                :
+ ***************************************************************************/
+
+/***************************************************************************
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ ***************************************************************************/
+
 #include "kstcurvedialog_i.h"
 
@@ -190,6 +208,6 @@ void KstCurveDialogI::new_I() {
   /* create the curve */
   curve = new KstVCurve(tag_name, *VX, *VY,
-                        EX == KST::vectorList.end() ? *EX : KstVectorPtr(0L),
-                        EY == KST::vectorList.end() ? *EY : KstVectorPtr(0L),
+                        EX != KST::vectorList.end() ? *EX : KstVectorPtr(0L),
+                        EY != KST::vectorList.end() ? *EY : KstVectorPtr(0L),
                         _curveAppearance->color());
   curve->setHasPoints(_curveAppearance->showPoints());

--- kdeextragear-2/kst/kst/kstcurvedialog_i.h  #1.9:1.10
@@ -1,2 +1,20 @@
+/***************************************************************************
+                       kstcurvedialog_i.h  -  Part of KST
+                             -------------------
+    begin                :
+    copyright            : (C) 2003 The University of Toronto
+                           (C) 2003 C. Barth Netterfield
+    email                :
+ ***************************************************************************/
+
+/***************************************************************************
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ ***************************************************************************/
+
 #ifndef KSTCURVEDIALOGI_H
 #define KSTCURVEDIALOGI_H




More information about the Kst mailing list