Version 2.5.9: Fix reading settings from old apps.
This commit is contained in:
parent
69b41fadef
commit
8500bf6073
|
@ -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)")
|
||||
|
|
Loading…
Reference in New Issue