Version 2.5.9: Fix reading settings from old apps.

This commit is contained in:
John Preston 2021-02-17 15:58:57 +04:00
parent 69b41fadef
commit 8500bf6073
1 changed files with 3 additions and 1 deletions

View File

@ -725,7 +725,9 @@ bool ReadSetting(
auto position = TWindowPos();
stream >> position.x >> position.y >> position.w >> position.h;
stream >> position.moncrc >> position.maximized;
stream >> position.scale;
if (version >= 2005009) {
stream >> position.scale;
}
if (!CheckStreamStatus(stream)) return false;
DEBUG_LOG(("Window Pos: Read from storage %1, %2, %3, %4 (scale %5%, maximized %6)")