[Kst] branches/work/kst/1.1/kst/kst
George Staikos
staikos at kde.org
Fri Sep 23 15:17:07 CEST 2005
SVN commit 463294 by staikos:
guessing what we're going to get when we save to disk isn't prudent
M +1 -1 kst2dplot.cpp
M +1 -1 kst2dplot.h
--- branches/work/kst/1.1/kst/kst/kst2dplot.cpp #463293:463294
@@ -898,7 +898,7 @@
if (_xLog && XMin <= 0.0) {
XMin = pow(10.0, -350.0);
}
- if (_xScaleMode==AUTOBORDER) {
+ if (_xScaleMode == AUTOBORDER) {
if (_xLog) {
XMin = log10(XMin);
XMax = (XMax > 0.0) ? log10(XMax): 0.0;
--- branches/work/kst/1.1/kst/kst/kst2dplot.h #463293:463294
@@ -35,7 +35,7 @@
class Kst2DPlot;
typedef KstObjectList<KstSharedPtr<Kst2DPlot> > Kst2DPlotList;
-enum KstScaleModeType { AUTO, AC, FIXED, AUTOUP, NOSPIKE, AUTOBORDER };
+enum KstScaleModeType { AUTO = 0, AC = 1, FIXED = 2, AUTOUP = 3, NOSPIKE = 4, AUTOBORDER = 5 };
struct KstPlotScale {
double xmin;
More information about the Kst
mailing list