fix preference loading version check

This commit is contained in:
cy384 2020-10-05 14:57:13 -04:00
parent 9f89ddcced
commit 4c4fb9007e
1 changed files with 5 additions and 0 deletions

View File

@ -215,6 +215,11 @@ void load_prefs(void)
set_terminal_string();
}
else
{
prefs.major_version = SSHEVEN_VERSION_MAJOR;
prefs.minor_version = SSHEVEN_VERSION_MINOR;
}
if (buffer) free(buffer);
}