summaryrefslogtreecommitdiffstats
path: root/ds9/library/prefs.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/prefs.tcl')
-rw-r--r--ds9/library/prefs.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/library/prefs.tcl b/ds9/library/prefs.tcl
index f2dfb59..9ca01f8 100644
--- a/ds9/library/prefs.tcl
+++ b/ds9/library/prefs.tcl
@@ -47,7 +47,7 @@ proc LoadPrefs {} {
if {$minor>0} {
set minor [expr $minor-1]
} else {
- set major [expr $minor-1]
+ set major [expr $major-1]
set minor 9
}
}