Changeset 688


Ignore:
Timestamp:
Dec 4, 2009 5:10:21 PM (14 years ago)
Author:
toby
Message:

# on 2003/05/13 16:15:55, toby did:
save more stuff, use gsas.config on windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/liveplot

    • Property rcs:date changed from 2003/04/10 22:01:33 to 2003/05/13 16:15:55
    • Property rcs:lines changed from +29 -8 to +7 -3
    • Property rcs:rev changed from 1.31 to 1.32
    r669 r688  
    945945# save some of the global options in ~/.gsas_config
    946946proc SaveOptions {} {
    947     global graph expgui peakinfo
    948     set fp [open [file join ~ .gsas_config] a]
    949     foreach v {printout legend outname outcmd autoraise chi2} {
     947    global graph expgui peakinfo tcl_platform
     948    if {$tcl_platform(platform) == "windows"} {
     949        set fp [open [file join ~ gsas.config] a]
     950    } else {
     951        set fp [open [file join ~ .gsas_config] a]
     952    }
     953    foreach v {printout legend outname outcmd autoraise chi2 xunits yunits} {
    950954        puts $fp "set graph($v) [list $graph($v)]"
    951955    }
Note: See TracChangeset for help on using the changeset viewer.