Fix unintended rename of LOCKFILE

pull/1/head
Slávek Banko 12 years ago
parent 66bf4ed696
commit 4caa5c7f12

@ -610,12 +610,12 @@ void PPPData::setModemEscapeGuardTime(int n) {
bool PPPData::modemLockFile() {
return readNumConfig(cmodemgroup, LOCTDEFILE_KEY, 1);
return readNumConfig(cmodemgroup, LOCKFILE_KEY, 1);
}
void PPPData::setModemLockFile(bool set) {
writeConfig(cmodemgroup, LOCTDEFILE_KEY, set);
writeConfig(cmodemgroup, LOCKFILE_KEY, set);
}

@ -79,7 +79,7 @@ class TDEConfig;
// modem
#define MOD_NAME_KEY "Name"
#define MODEMDEV_KEY "Device"
#define LOCTDEFILE_KEY "UseLockFile"
#define LOCKFILE_KEY "UseLockFile"
#define FLOWCONTROL_KEY "FlowControl"
#define SPEED_KEY "Speed"
#define TIMEOUT_KEY "Timeout"

Loading…
Cancel
Save