Logger32 default folder change

Changed default folder to TempDir from C:\FL_LOGBOOK
pull/2/head
David Freese 2009-03-25 07:39:45 -05:00
rodzic 22b70a52f8
commit efc4259d69
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -70,7 +70,9 @@ void writeADIF () {
string sfname;
// Append to FL_LOGBOOK adif file on Windows if and only if C:\FL_LOGBOOK exists
sfname = "C:/FL_LOGBOOK/log.adif";
sfname = TempDir;
sfname.append("log.adif");
// sfname = "C:/FL_LOGBOOK/log.adif";
adiFile = fopen (sfname.c_str(), "a");
if (adiFile) {
// write the current record to the file