diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-24 21:26:53 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-24 21:26:53 +0200 |
commit | df247efec654e512242e4f4f1b0212034f9e01fe (patch) | |
tree | 25c02e16957f3aa613af30c140fd8e8a3d52fda6 /app/bin/misc2.c | |
parent | d0b6a8a4ec298024f14f704f9e40a6f9d324ccf3 (diff) | |
parent | a5ade52caa489cf0a713e0f02b764000d203140e (diff) |
Merge branch 'release/debian/1%5.2.0Beta2.1-1' into masterdebian/1%5.2.0Beta2.1-1
Diffstat (limited to 'app/bin/misc2.c')
-rw-r--r-- | app/bin/misc2.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/bin/misc2.c b/app/bin/misc2.c index 0dbb57d..19226cc 100644 --- a/app/bin/misc2.c +++ b/app/bin/misc2.c @@ -53,15 +53,17 @@ EXPORT long units = 0; /**< measurement units: 0 = English, 1 = metric */ EXPORT long checkPtInterval = 10; +EXPORT long autosaveChkPoints = 2; EXPORT DIST_T curScaleRatio; EXPORT char * curScaleName; EXPORT DIST_T trackGauge; EXPORT long labelScale = 8; -EXPORT long labelEnable = ((1<<0)|LABELENABLE_LENGTHS|LABELENABLE_ENDPT_ELEV|LABELENABLE_CARS); +EXPORT long labelEnable = (LABELENABLE_ENDPT_ELEV|LABELENABLE_CARS); EXPORT long labelWhen = 2; -EXPORT long colorLayers = 0; -EXPORT long zoomCorner = 0; +EXPORT long colorTrack = 0; +EXPORT long colorDraw = 0; +EXPORT long constrainMain = 0; EXPORT long hideSelectionWindow = 0; EXPORT long angleSystem = 0; EXPORT DIST_T minLength = 0.1; @@ -156,10 +158,6 @@ EXPORT void DoChangeNotification( long changes ) * */ - -#define SCALE_ANY (-2) -#define SCALE_DEMO (-1) - typedef struct { char * scale; DIST_T ratio; @@ -467,7 +465,9 @@ SetScale( SCALEINX_T newScaleInx ) SetScaleDescGauge((SCALEINX_T)newScaleInx); - wPrefSetString( "misc", "scale", curScaleName ); + + if (!inPlayback) + wPrefSetString( "misc", "scale", curScaleName ); // now load the minimum radius for the newly selected scale LoadLayoutMinRadiusPref(curScaleName, curScale->R[0]); |